Weird CUDA problem: changing += to /= in a loop causes a variable not to be set

Not sure for your case, but I’ve seen similar error when using –device-debug.

1 Like