The CUDA version still requires the OpenCL ICD to build and run against (an issue in it's own right). If there is then a valid OpenCL platform available at runtime, a runtime error is thrown on device selection.
One unacceptable workaround is this, but it means we then can't run any OpenCL code on that system.
sudo mkdir /etc/OpenCL/vendors/disable
sudo mv /etc/OpenCL/vendors/nvidia.icd /etc/OpenCL/vendors/disable/
We're running CentOS 7.6, CUDA 10.1, and building with GCC 8.3.0.