fetch_max example is incorrect
ag1548 opened this issue · 0 comments
ag1548 commented
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.