Forum Discussion
Altera_Forum
Honored Contributor
8 years agoclEnqueueNDRangeKernel() blocking or no blocking
Hi everyone, I would like to say if clEnqueueNDRangeKernel() is a blocking function. In fact, reading and writing operations can be blocking or no blocking depending on the flag I set inside th...
Altera_Forum
Honored Contributor
8 years agoNo, clEnqueueNDRangeKernel has no blocking capability. You can have it wait on events from, say, another queue or mark it as an event for other enqueued commands to wait on, but otherwise the kernel is launched when this command gets through the queue.