eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
105 stars 8 forks source link

Semantics of atomic::increment() and atomic::decrement() wrong #16

Closed eyalroz closed 5 years ago

eyalroz commented 5 years ago

I've somehow mis-implemented atomic::increment() and atomic::decrement(). Need to bring the comments and the implementation in line with the CUDA Programming Guide description, as well as make sure that the default arguments actually do something useful (which, currently, they do not).