Error de CUDA: afirmación del lado del dispositivo activado

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