Hello. I want to use cl_queue_properties(list of properties) in pyopnecl.
I have tried following code:
properties = cl.command_queue_properties.OUT_OF_ORDER_EXEC_MODE_ENABLE\
| cl.command_queue_properties.ON_DEVICE
queue_properties = cl.queue_properties
queue_properties.PROPERTIES = queue_properties
queue_properties.SIZE = 10000
device_queue = cl.CommandQueue(context, device, queue_properties)
and have following error.

device_queue = cl.CommandQueue(context, device, queue_properties)
pyopencl._cl.LogicError: CommandQueue failed: INVALID_VALUE - queue properties 
given as an iterable, which is only allowed when PyOpenCL was built against an 
OpenCL 2+ header
_______________________________________________
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl

Reply via email to