diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-07-04 13:27:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-07-04 15:48:33 +0300 |
commit | ba9f29d566598b5cee35984c80a06359212dff94 (patch) | |
tree | cee29bf284041391cda8be3d19c91661f3e3f7bd /sc | |
parent | 3aea5e4c50d0b84e4e410856696eb0bf9101fbba (diff) |
Bin leftover (?) no-op clGetCommandQueueInfo() call
Change-Id: I6d22847eac3e0677c5ee67378b6772980fa17272
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/openclwrapper.cxx | 3 | ||||
-rw-r--r-- | sc/source/core/opencl/openclwrapper.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index 09a9f0a4edd7..7a1103d9b9e9 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx @@ -725,9 +725,6 @@ int OpenclDevice::InitOpenclRunEnv(GPUEnv *gpuInfo) } } - status = clGetCommandQueueInfo(gpuInfo->commandQueue, - CL_QUEUE_THREAD_HANDLE_AMD, 0, NULL, NULL); - return 0; } diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx index b9d22555cb76..a4595454ab91 100644 --- a/sc/source/core/opencl/openclwrapper.hxx +++ b/sc/source/core/opencl/openclwrapper.hxx @@ -20,7 +20,6 @@ #define MaxTextExtent 4096 //support AMD opencl -#define CL_QUEUE_THREAD_HANDLE_AMD 0x403E #define CL_MAP_WRITE_INVALIDATE_REGION (1 << 2) #if defined(_MSC_VER) |