Move all CUDA utilities to cuda/utils.{h|cpp}
Wrapper for cudaGetDeviceCount