Fix CUDA calls.