Using the modulo (%) operator in CUDA 65536

Using the modulo (%) operator in CUDA 65536

Originally, I wanted to create this post about half a year earlier, but :D … Well never mind, the problem was: I was implementing an algorithm in CUDA and I was using the modulo (%) operator in each kernel with different parameters. I personally think it was...