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

I-Jui Sung (Ray) ray at multicorewareinc.com
Sat Nov 16 22:24:01 PST 2013


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

New commits:
commit 37c8301ad18c0fd0b61a587521e7ae40ceed0070
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date:   Sun Nov 17 00:18:04 2013 -0600

    GPU Calc: remove CL_QUEUE_THREAD_HANDLE_AMD query
    
    Use of this extension is not recommended even by AMD.
    See also:
    
    http://devgurus.amd.com/message/1300769#1300769
    
    for details.
    
    Change-Id: I05bf2903a79c83e1de3cdfe23c713b8a0e7d35f9

diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx
index c4eb7c8..b7e1f91 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -675,10 +675,6 @@ 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