You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some algorithms, we need to get atomically the previous value ("old" value) just before the atomic operation.
Now, doAtomic doesn't return any value.
Could doAtomic return the "old" value like CUDA atomicAdd (or Min, ...)?
In addition, I need to perform an atomic ++ on an integer.
Is it possible to have an eAtomicOperation::Inc like CUDA?
I guess it would be more efficient.
The text was updated successfully, but these errors were encountered:
In some algorithms, we need to get atomically the previous value ("old" value) just before the atomic operation.
Now,
doAtomic
doesn't return any value.Could
doAtomic
return the "old" value like CUDAatomicAdd
(orMin
, ...)?In addition, I need to perform an atomic ++ on an integer.
Is it possible to have an
eAtomicOperation::Inc
like CUDA?I guess it would be more efficient.
The text was updated successfully, but these errors were encountered: