-
Notifications
You must be signed in to change notification settings - Fork 903
OSHMEM v1.3: c11 generics (DNM before #2103) #2122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSHMEM v1.3: c11 generics (DNM before #2103) #2122
Conversation
The commit adds atomic set and fetch functions as described in oshmem 1.3 spec.
add missing put*/get* functions. Move *put|get16 functions from shmemx.h to shmem.h as required by 1.3 spec.
long long*: pshmem_longlong_iput, \ | ||
float*: pshmem_float_iput, \ | ||
double*: pshmem_double_iput, \ | ||
long double*: pshmem_longdouble_iput)(dst, src, len, pe) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This call does not match the macros arguments.
long long*: pshmem_longlong_g, \ | ||
float*: pshmem_float_g, \ | ||
double*: pshmem_double_g, \ | ||
long double*: pshmem_longdouble_g)(addr, val, pe) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dito.
long long*: shmem_longlong_iput, \ | ||
float*: shmem_float_iput, \ | ||
double*: shmem_double_iput, \ | ||
long double*: shmem_longdouble_iput)(dst, src, len, pe) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dito.
long long*: shmem_longlong_g, \ | ||
float*: shmem_float_g, \ | ||
double*: shmem_double_g, \ | ||
long double*: shmem_longdouble_g)(addr, val, pe) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dito.
long long*: pshmem_longlong_p, \ | ||
float*: pshmem_float_p, \ | ||
double*: pshmem_double_p, \ | ||
long double*: shmem_longdouble_p)(dst, val, pe) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that should be pshmem_longdouble_p
@alex-mikheev Thanks for the fixes. Can you squash down those 2 "fix" comments into their appropriate original commit(s)? (i.e., no need to have a PR that adds fixes to commits that were introduced in the same PR) |
sure i will squash 'fixes commits' |
Merging this. |
@jladd-mlnx @igor-ivanov please review
Note that PR depends on #2103