I want to queue two kernels: first kernel is waiting for another event, and the second kernel is not.
So, I would like the second kernel to execute first, if possible.
I don't think out-of-order execution is supported yet for host-side command queue. However, for the above purpose, you can use two separate queues to launch two kernels.
Retrieving data ...