Description
I wasn't having a functioning OpenCL backend, on my Fedora 40/41 with NVIDIA driver setup. Turns out there is no libOpenCL.so
, but instead the soname versioning starts with libOpenCL.so.1
, which symlinks to libOpenCL.so.1.0.0
.
I'm not super familiar with these so versioning strategies, but I can confirm Halide works fine when adding libOpenCL.so.1
to the list of attempted library names in the opencl runtime module. What would be the most correct / portable soname for libOpenCL?
No guarantees, but ChatGPT says you should use libOpenCL.so.1
(and I didn't bias it).