Use the correct definitions when CUDA is enabled