Nov 22, 2024

[C++] atomic::fetch_max

Reference: 
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0493r3.pdf
https://en.cppreference.com/w/cpp/atomic/atomic/fetch_max

GPU platforms added instructions for this many years ago. Most platforms do not have an instruction (yet?).

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.