Browse Source

Out of order command queue may fail on osx. Try without if it fails.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
2e37e3374e
  1. 2
      ocl.c

2
ocl.c

@ -637,6 +637,8 @@ built: @@ -637,6 +637,8 @@ built:
/////////////////////////////////////////////////////////////////
clState->commandQueue = clCreateCommandQueue(clState->context, devices[gpu],
CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &status);
if (status != CL_SUCCESS) /* Try again without OOE enable */
clState->commandQueue = clCreateCommandQueue(clState->context, devices[gpu], 0 , &status);
if (status != CL_SUCCESS)
{
applog(LOG_ERR, "Creating Command Queue. (clCreateCommandQueue)");

Loading…
Cancel
Save