【记录一个问题】android opencl c++: 使用event.SetCallBack()方法后,在回调函数中要再使用event.wait()才能得到profile信息

如题:希望执行完成后得到各个阶段的执行时间,但是通过回调发现start, end, submit, queued等时间都是0
因此要在回调函数中再使用一次event.wait(),然后才能获得profile数据。

原文地址:https://www.cnblogs.com/ahfuzhang/p/11605074.html