Only include cudadevice.h if CUDA was found