[Libreoffice-commits] core.git: sc/source

I-Jui Sung (Ray) ray at multicorewareinc.com
Sat Nov 16 19:46:49 PST 2013


 sc/source/core/opencl/openclwrapper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0adea894d6d55ead0ff58c76ce142f5d4e1014a4
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date:   Sat Nov 16 21:44:15 2013 -0600

    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;
 


More information about the Libreoffice-commits mailing list