Execute OpenCL in sequential (1 work item at a time)

Execute OpenCL in sequential (1 work item at a time)

Polar01's picture

Hi,

I would like to do some test and execute all the work items as sequential (avoid parallelism) (and avoid possible conflicts between parallel work items) and would like to know if there is an option for this ?

Thanks

http://spectralbattle.wordpress.com/
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

Please create a queue with additional CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL flag. This will cause Intel CPU device to use only the calling thread for execution.

Login to leave a comment.