Skip to content

Conversation

@rolfv
Copy link

@rolfv rolfv commented Aug 7, 2015

The support for threads and CUDA 7.0 was broken. This fixes it. We still need to check for the current context and set it if it is not set.

@jsquyres Can you review? I know you have no expertise here, but just look at the logic. There are slightly different code paths when we can get multiple attributes and when we cannot. Prior to this change, we did not check for current context when we had multiple attribute support. It turns out we have to regardless.

@rolfv rolfv added the bug label Aug 7, 2015
@rolfv rolfv added this to the Open MPI v2.0.0 milestone Aug 7, 2015
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to change this VERBOSE output to say memCtx to match the variable name? I ask because you're making a distinction between ctx and memCtx in the code, so since this is assumedly a debugging output, it might be good to have the output match the variable name.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will make that change. Thanks.

@rolfv rolfv force-pushed the pr/fix-thread-issue branch from 64d917d to 8cc6bef Compare August 10, 2015 14:30
@rolfv
Copy link
Author

rolfv commented Aug 10, 2015

Fixed the issues and pushed the changes. Do you want to look once more Jeff? If not, then I will just merge when all the automatic tests complete. Thanks Jeff for the review.

rolfv pushed a commit that referenced this pull request Aug 10, 2015
Refs #627. Fix support for multi-threads with CUDA 7.0
@rolfv rolfv merged commit 95d19af into open-mpi:master Aug 10, 2015
@rolfv rolfv deleted the pr/fix-thread-issue branch August 11, 2015 19:13
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
btl/openib: add support for mlx5 atomic operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants