hi!! I have a problem, I am using the function clEnqueueTask() to execute many kernels, but, I need take the result in a certain order.
For example:
for(int i=0;i<12;i++)
clEnqueueTask(queueCPU,kernel[i],0,NULL,NULL);
clFinish(queueCPU);

I need to take the results in the same order in that enqueue.
for(int i=0;i<12;i++)
clEnqueueReadBuffer(queueCPU, buffer, CL_TRUE, NULL, length* sizeof(float), array, NULL, NULL, NULL);
I put this way it, but the result are bad.
please help me!!!
thank!!!