Commented CUDA specific code