summaryrefslogtreecommitdiff
path: root/opencl/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-17 14:32:21 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-17 16:39:06 -0500
commita4681be5347fe24867b4f603dc57942c3306227b (patch)
treeb40484f69d19c5c2e21e72e1018fa971e99b84d8 /opencl/source
parent355e39508112695766f060e9b05c70625ee1b0a3 (diff)
Enable out-of-order kernel execution.
Change-Id: I4dbc69ca2618c37184ffdc217493e3880e149617
Diffstat (limited to 'opencl/source')
-rw-r--r--opencl/source/openclwrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 9ce248136e4d..09e7bc01231a 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)
{