diff options
-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(); |