diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-03-29 14:02:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-03-29 14:17:32 +0300 |
commit | d739811038c54081ea4039a939af8f320b31378b (patch) | |
tree | e07c8e9b15a4b527c69c35ea19cd6ad80a6de725 | |
parent | Avoid running out of memory on Windows when OpenCL is available (diff) | |
download | core-d739811038c54081ea4039a939af8f320b31378b.tar.gz core-d739811038c54081ea4039a939af8f320b31378b.zip |
The OpenCL shared library is called libOpenCL.so.1 on Linux
libOpenCL.so is just the symbolic link to it, typically from
a development package. (On Fedora, from ocl-icd-devel.)
(Sure, libOpenCL.so.1 is also a symbolic link on Fedora, to
libOpenCL.so.1.0.0. But anyway, libOpenCL.so.1 is not from a
development package, but from ocl-icd.)
Change-Id: I18ca2e52e025001f709b1b57e12cd01d5b52d08e
-rw-r--r-- | opencl/source/openclwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index 7bbcb2c3bce3..74a925b75584 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -38,7 +38,7 @@ #elif defined(MACOSX) #define OPENCL_DLL_NAME nullptr #else -#define OPENCL_DLL_NAME "libOpenCL.so" +#define OPENCL_DLL_NAME "libOpenCL.so.1" #endif #define DEVICE_NAME_LENGTH 1024 |