mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 16:34:23 +00:00
Out of order command queue may fail on osx. Try without if it fails.
This commit is contained in:
parent
4cd12aa8e0
commit
2e37e3374e
2
ocl.c
2
ocl.c
@ -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…
x
Reference in New Issue
Block a user