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

Kohei Yoshida kohei.yoshida at collabora.com
Wed Dec 17 13:40:26 PST 2014


 opencl/source/openclwrapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a4681be5347fe24867b4f603dc57942c3306227b
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Dec 17 14:32:21 2014 -0500

    Enable out-of-order kernel execution.
    
    Change-Id: I4dbc69ca2618c37184ffdc217493e3880e149617

diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 9ce2481..09e7bc0 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -762,7 +762,7 @@ bool switchOpenCLDevice(const OUString* pDevice, bool bAutoSelect, bool bForceEv
     }
 
     cl_command_queue command_queue = clCreateCommandQueue(
-            context, pDeviceId, 0, &nState);
+            context, pDeviceId, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &nState);
 
     if(command_queue == NULL || nState != CL_SUCCESS)
     {


More information about the Libreoffice-commits mailing list