Quantcast
Viewing all articles
Browse latest Browse all 2

Answer by harrism for Cuda atomic operations on unsigned short

No, there are no CUDA atomic intrinsics for unsigned short and unsigned char data types, or any data type smaller than 32 bits.

However, you could group together two shorts or four chars and perform a 32-bit atomic on them, processing multiple at once (assuming your computation permits this).


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>