Some explanation to compile and run CUDA programs