Skip to content

Commit 8fa2ea4

Browse files
committed
improve real libOpenCL.so autodetection on Linux
1 parent d6230e0 commit 8fa2ea4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Src/intercept.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,8 @@ bool CLIntercept::init()
507507
const std::string dllNames[] =
508508
{
509509
"./real_libOpenCL.so",
510+
"/usr/lib/x86_64-linux-gnu/libOpenCL.so",
511+
"/opt/intel/opencl/lib64/libOpenCL.so",
510512
};
511513

512514
#else

0 commit comments

Comments
 (0)