CAL question.

Discussion created by afo on Apr 1, 2011
Latest reply on Apr 1, 2011 by afo
calCtxFlush VS calCtxIsEventDone, differences? aplicability?

Hi  all,

I was searching for the differences and uses of calCtxFlush and calCtxIsEventDone. The closest answer was:

But is not clear to me the difference between both and when to use each.

Other question: calCtxFlush is a blocking call? Dispatches the kernels to the GPU and returns? Dispatches the kernels to the GPU, waits until the kernels are computed and return?

Thanks a lot for any insight about this.

best regards,