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

fetch_max example is incorrect #231

Closed
ag1548 opened this issue Nov 17, 2021 · 0 comments · Fixed by #232
Closed

fetch_max example is incorrect #231

ag1548 opened this issue Nov 17, 2021 · 0 comments · Fixed by #232
Assignees

Comments

@ag1548
Copy link

ag1548 commented Nov 17, 2021

The example code on this page:

https://nvidia.github.io/libcudacxx/extended_api/synchronization_primitives/atomic/fetch_max.html

is incorrect.

Here, x == 0 and y == 1.

@wmaxey wmaxey self-assigned this Nov 18, 2021
wmaxey added a commit that referenced this issue Nov 18, 2021
wmaxey added a commit that referenced this issue Dec 16, 2021
@wmaxey wmaxey closed this as completed May 9, 2022
wmaxey added a commit that referenced this issue Nov 22, 2022
* Update fetch_max.md

Closes #231.

* Update releases.md

* Add an example .cu for <nv/target>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants