Skip to content

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

Merged
merged 5 commits into from
Sep 27, 2016

Conversation

alex-mikheev
Copy link
Contributor

@jladd-mlnx @igor-ivanov please review
Note that PR depends on #2103

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.
@alex-mikheev alex-mikheev added this to the v2.1.0 milestone Sep 25, 2016
@alex-mikheev alex-mikheev changed the title Topic/oshmem c11 generics OSHMEM v1.3: c11 generics Sep 25, 2016
long long*: pshmem_longlong_iput, \
float*: pshmem_float_iput, \
double*: pshmem_double_iput, \
long double*: pshmem_longdouble_iput)(dst, src, len, pe)
Copy link
Member

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)
Copy link
Member

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)
Copy link
Member

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)
Copy link
Member

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)
Copy link
Member

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

@jsquyres jsquyres changed the title OSHMEM v1.3: c11 generics OSHMEM v1.3: c11 generics (DNM before #2103) Sep 26, 2016
@jsquyres
Copy link
Member

@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)

@jsquyres jsquyres removed this from the v2.1.0 milestone Sep 26, 2016
@alex-mikheev
Copy link
Contributor Author

sure i will squash 'fixes commits'

@jladd-mlnx
Copy link
Member

Merging this.

@jladd-mlnx jladd-mlnx merged commit bf6c887 into open-mpi:master Sep 27, 2016
clementFoyer pushed a commit to bosilca/ompi that referenced this pull request Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants