CUDA source generator