[Libreoffice-commits] core.git: Branch 'feature/calc-pluggable-opencl' - sc/workben
Kohei Yoshida
kohei.yoshida at collabora.com
Thu Sep 12 15:04:00 PDT 2013
sc/workben/opencl/platform_detect.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a0f1577167e17ef7af54b45c4b96f7a06410041f
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Sep 12 18:03:34 2013 -0400
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
diff --git a/sc/workben/opencl/platform_detect.cxx b/sc/workben/opencl/platform_detect.cxx
index 81c19e6..b0a9c61 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);
More information about the Libreoffice-commits
mailing list