[Libreoffice-commits] core.git: opencl/source
Tor Lillqvist
tml at collabora.com
Wed Aug 26 05:09:28 PDT 2015
opencl/source/openclwrapper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0c76f53c83016064ad2cc569a4df176937478c98
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Aug 26 15:05:22 2015 +0300
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
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 7b7d156..4da1ec7 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);
More information about the Libreoffice-commits
mailing list