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.