ifdef CUDA to remove cuda code from compile