Skip to content

Commit e890707

Browse files
committed
Load libOpenCL.so.1 instead of libOpenCL.so
The generic OpenCL ICD loader packages (ocl-icd-libopencl1/ocl-icd/libOpenCL1) provide libOpenCL.so.1. libOpenCL.so is part of the development packages (ocl-icd-opencl-dev/ocl-icd-devel), which we are unnecessarily forcing users to install.
1 parent 4b4b13f commit e890707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cbang/hw/OpenCLLibrary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static const char *openclLib =
5656
"/System/Library/Frameworks/OpenCL.framework/OpenCL";
5757

5858
#else
59-
static const char *openclLib = "libOpenCL.so";
59+
static const char *openclLib = "libOpenCL.so.1";
6060
#endif
6161

6262

0 commit comments

Comments
 (0)