Given that OpenCL is designed for an API for heterogeneous programming, it, by definition, has a huge penalty for latency associated with it. Therefore, it MUST be an asynchronous API.
I find it difficult to find an asynchronous API in OpenCL.net. I found the OpenCl.Net.Event , which seems to be the out parameter in most API calls. However, I can not find the answer to the event in any way, since opencl.net missing in clSetEventCallback .
Does anyone know how to await perform an asynchronous operation in opencl.net ?
EDITOR: I hate it when people go down without comment. For the record, I worked a little on this topic, now I am reading a book about OpenCL, I even uploaded the source code to the OpenCL.net project to no avail. OpenCL.net has some documentation.
source share