AnsweredAssumed Answered

OpenCL workitem execution order

Question asked by registerme on Jun 22, 2012
Latest reply on Jun 25, 2012 by mfried

When I call clEnqueueNDRangeKernel with globalThreads(A*a, B*b, C) and localThreads(a, b, 1), will it be gauranteed that the third dimension of the globalThreads will be changed only after the first and 2nd dimension numbers are all executed? More sepecifically, get_global_id(2)=1 will be scheduled only after all the variations in get_global_id(0) and get_global_id(1) are executed with get_global_id(2)=0.


The reason I am asking is, I want to have an order in the execution, we can not let global_id=1 run before global_id=0, and so on.