Kesalahan CUDA: Sisi Perangkat menegaskan dipicu

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