fix USE-CUDA-P broken since CL-CUDA upgrade