ERRO CUDA: ASSERTA DO DISPOSITIVO ASSERTA ATRADO

You can use:
CUDA_LAUNCH_BLOCKING="1"
at the very beginning of code to get the descriptive error.
coder