Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix cuda::atomic_thread_fence example #369

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

gevtushenko
Copy link
Collaborator

Atomic operations are still requires to establish synchronization order in the pretense of the std::atomic_thread_fence. This PR provides a less ambiguous example of the API.

@gevtushenko gevtushenko added the only: docs Documentation changes only. Doesn't need code CI. label Feb 20, 2023
Copy link
Collaborator

@gonzalobg gonzalobg left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@miscco miscco merged commit cb16895 into NVIDIA:main Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
only: docs Documentation changes only. Doesn't need code CI.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants