Added ifdef to parse_cuda_*_parameters to deal with CUDA not present