Run OpenCL in Docker Containers 发表于 2023-03-16 更新于 2024-08-22 分类于 容器与虚拟机 文章标准 暂无 After installing the NVIDIA container runtime, you should install all necessary packages: apt updateapt install ocl-icd-libopencl1 opencl-headers clinfo Enable OpenCL by: mkdir -p /etc/OpenCL/vendorsecho "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd