diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-08-26 15:05:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-08-26 15:08:07 +0300 |
commit | 0c76f53c83016064ad2cc569a4df176937478c98 (patch) | |
tree | 1e621c5833a200c6b114a5727f232222cc5c2bb0 /opencl | |
parent | 93157d284ea37cca200759804268c0a872852549 (diff) |
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
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/source/openclwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |