I’ve tried searching for variations on “CUDA compound assignment operator”, but I can’t find anything. Can I use compound assignment operators such as += in device code?
Yes, you can use += in device code, CUDA works just like C/C++.
I’ve tried searching for variations on “CUDA compound assignment operator”, but I can’t find anything. Can I use compound assignment operators such as += in device code?
Yes, you can use += in device code, CUDA works just like C/C++.