diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-17 04:38:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-19 17:03:23 +0200 |
commit | 82985b9bccbde3c697e73e1930c89634853c8d3c (patch) | |
tree | 59c4782adbb11300046fe53ab3f5ea4c4745eb09 /sc/source | |
parent | 088de79273794ea4099b538158e030a9c2b91469 (diff) |
we no longer use that method for initializing opencl
Change-Id: I779adb453cfe91328d5583f990b7c57d482fb7dc
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/opencl/openclwrapper.cxx | 12 | ||||
-rw-r--r-- | sc/source/core/opencl/openclwrapper.hxx | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index 7c245b9a3d34..3994029bb687 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx @@ -77,18 +77,6 @@ OString generateHashForSource() OString OpenclDevice::maSourceHash = generateHashForSource(); -int OpenclDevice::initEnv() -{ - // TODO: This part needs more platform specific handling. On Windows, - // the GPU Driver itself installs OpenCL.dll in the system folder. - int status = clewInit(OPENCL_DLL_NAME); - if (status < 0) - return 1; - - initOpenclRunEnv( 0 ); - return 1; -} - int OpenclDevice::releaseOpenclRunEnv() { releaseOpenclEnv( &gpuEnv ); diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx index 7677f4d8b75e..057f02b81ca6 100644 --- a/sc/source/core/opencl/openclwrapper.hxx +++ b/sc/source/core/opencl/openclwrapper.hxx @@ -162,7 +162,6 @@ class OpenclDevice public: static GPUEnv gpuEnv; static int isInited; - static int initEnv(); static OString maSourceHash; static int registOpenclKernel(); static int releaseOpenclRunEnv(); |