From 0c76f53c83016064ad2cc569a4df176937478c98 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 26 Aug 2015 15:05:22 +0300 Subject: Revert "Enable out-of-order kernel execution" Is not a good idea after all, says mmeeks. Plus, we should check if the device actually supports it (with clGetDeviceInfo (CL_DEVICE_QUEUE_PROPERTIES) before attempting to use it. This reverts commit a4681be5347fe24867b4f603dc57942c3306227b. Change-Id: I11896ab2d40bd8abcb11a21ce5df4eb75816013a --- opencl/source/openclwrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opencl') diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index 7b7d1562f416..4da1ec702fb7 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -788,7 +788,7 @@ bool switchOpenCLDevice(const OUString* pDevice, bool bAutoSelect, bool bForceEv for (int i = 0; i < OPENCL_CMDQUEUE_SIZE; ++i) { command_queue[i] = clCreateCommandQueue( - context, pDeviceId, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &nState); + context, pDeviceId, 0, &nState); if (nState != CL_SUCCESS) SAL_WARN("opencl", "clCreateCommandQueue failed: " << nState); -- cgit