OpenCL command queue (CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) not working (MacOS)
问题 Working through the examples and source code from Fixstars. Specifically, I'm trying the last bit of code in chapter 5 (two moving averages - aka Golden Cross): http://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/opencl-programming-practice/ The code is available here: http://www.fixstars.com/en/opencl/book/sample/ I'll post the specific example below. But the short of it is that by setting up the command queue as follows: command_queue = clCreateCommandQueue(context, device_id, CL