Adding an inline macro for CUDA.