blob: 575bfa82638baf09319b5ad94f15c5bbcfd6613b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff --git a/src/opencl_generate_dynamic_loader.py b/src/opencl_generate_dynamic_loader.py
index 790705330..2acedbc56 100755
--- a/src/opencl_generate_dynamic_loader.py
+++ b/src/opencl_generate_dynamic_loader.py
@@ -134,12 +134,7 @@ static void load_opencl_dll(void)
/* Names to try to load */
const char * const opencl_names[] = {
- "libOpenCL.so", /* Linux/others, hack via "development" sub-package's symlink */
- "OpenCL", /* _WIN */
- "/System/Library/Frameworks/OpenCL.framework/OpenCL", /* __APPLE__ */
- "opencl.dll", /* __CYGWIN__ */
- "cygOpenCL-1.dll", /* __CYGWIN__ */
- "libOpenCL.so.1" /* Linux/others, no "development" sub-package installed */
+ "@ocl_icd@/lib/libOpenCL.so" /* NixOS */
};
for (i = 0; i < sizeof(opencl_names)/sizeof(opencl_names[0]); i++) {
|