Skip to content

CUDA version simultaneously needs and cannot have OpenCL #1559

@tomdeakin

Description

@tomdeakin

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.

Metadata

Metadata

Assignees

Labels

cudaCUDA back-end

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions