CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE in Snow Leopard GeForce 320M

Hi,

I’m running the JOCLMandelbrot sample on my mac and i’m getting the following error :

Exception in thread “AWT-EventQueue-0” org.jocl.CLException: CL_INVALID_QUEUE_PROPERTIES
at org.jocl.CL.checkResult(CL.java:562)
at org.jocl.CL.clCreateCommandQueue(CL.java:4180)

Looks like the error come from setting this property :

CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE

The machine is a July 2010 Mac Mini with an Nvidia 320M GPU. Is it just a case of the device not supporting this property ?

Thanks,
M

Hello,

Yes, some devices (especially the ‘M’-devices, which are commonly used in laptops) do not support this property. But actually, this flag did not make any noticable difference on my GeForce 8800, so the line which is setting this flag may safely be removed. (BTW: The setCommandQueueProperty function is deprectated in OpenCL 1.1 anyhow, so some of the samples will have to be updated accordingly as soon as I find the time for that…)

bye
Marco

Ah i see. Thanks for the reply and keep up the excellent work !

M