diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-17 14:32:21 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-17 16:39:06 -0500 |
commit | a4681be5347fe24867b4f603dc57942c3306227b (patch) | |
tree | b40484f69d19c5c2e21e72e1018fa971e99b84d8 /opencl/source | |
parent | after resetting the values are not modified (diff) | |
download | core-a4681be5347fe24867b4f603dc57942c3306227b.tar.gz core-a4681be5347fe24867b4f603dc57942c3306227b.zip |
Enable out-of-order kernel execution.
Change-Id: I4dbc69ca2618c37184ffdc217493e3880e149617
Diffstat (limited to 'opencl/source')
-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 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) { |