| commit | 0adea894d6d55ead0ff58c76ce142f5d4e1014a4 | [log] |
|---|---|---|
| author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | Sat Nov 16 21:44:15 2013 -0600 |
| committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | Sat Nov 16 21:44:15 2013 -0600 |
| tree | 6fb6832ca6d340253f5c43bdc1d8501d470c88f0 | |
| parent | 11077cb75d0dcf1ebb25b12358776fde45a78eb4 [diff] |
GPU Calc: fix regression on non-AMD GPUs Change-Id: Ie9ae42fc8111e1f11acab5c67a4932edd7031619
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index d7719dd..c4eb7c8 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -675,10 +675,10 @@ int OpenclDevice::initOpenclRunEnv( GPUEnv *gpuInfo ) CHECK_OPENCL(clStatus, "clCreateCommandQueue"); } #if 0 clStatus = clGetCommandQueueInfo( gpuInfo->mpCmdQueue, CL_QUEUE_THREAD_HANDLE_AMD, 0, NULL, NULL ); CHECK_OPENCL(clStatus, "clGetCommandQueueInfo"); #endif bool bKhrFp64 = false; bool bAmdFp64 = false;