Using CMake with Matlab GPU Coder generated CUDA code

@kubaixixel if you are on Jetson Nano, you should be using -gencode arch=compute_53,code=sm_53 in your CMakeLists.txt. My guess is the CUDA kernel was failing to launch because it was compiled for the wrong GPU arch, but you didn’t see this failure because there was no error checking.

For reference, you can enable list all of these if you want to compile it for all Jetson devices:

-gencode arch=compute_53,code=sm_53
-gencode arch=compute_62,code=sm_62
-gencode arch=compute_72,code=sm_72