compiling for CUDA