Are there some inbuilt functions in cuda for doing atomic operations on unsigned short or unsigned char?
Are there some inbuilt functions in cuda for doing atomic operations on unsigned short
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there are no CUDA atomic intrinsics for
unsigned shortandunsigned chardata 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).