From 5e743fd52db25e9144949f3a84865b91880098c2 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 12 Sep 2013 18:03:34 -0400 Subject: On linux, the entry library name is 'libOpenCL.so'. And it should be installed in the system library path, so no need to specify full path to load it. Change-Id: I0a77bd6911e69f8453b7c95c7cdcb77fe2e6e5e0 --- sc/workben/opencl/platform_detect.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/workben/opencl/platform_detect.cxx b/sc/workben/opencl/platform_detect.cxx index 81c19e6d06e6..b0a9c610d7e1 100755 --- a/sc/workben/opencl/platform_detect.cxx +++ b/sc/workben/opencl/platform_detect.cxx @@ -9,7 +9,8 @@ using namespace std; int main() { - const char* dllname = "OpenCL.dll"; // from GPU driver. + const char* dllname = "libOpenCL.so"; // on Linux +// const char* dllname = "OpenCL.dll"; // from GPU driver. // const char* dllname = "amdocl.dll"; // from AMD SDK // const char* dllname = "intelocl.dll"; // from Intel SDK int status = clewInit(dllname); -- cgit