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 a4681be534.

Change-Id: I11896ab2d40bd8abcb11a21ce5df4eb75816013a
This commit is contained in:
Tor Lillqvist
2015-08-26 15:05:22 +03:00
parent 93157d284e
commit 0c76f53c83

View File

@@ -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);