Vote count:
0
Given that OpenCL is meant to be an API for heterogeneous programming, it by almost definition has a huge latency penalty associated with it. Therefore there MUST be an asynchronous API for it.
I am however finding it difficult to find the asynchronous API in OpenCL.net. I have found the OpenCl.Net.Event
struct, which seems to be an out
parameter in most API calls. However I can't find anyway to associate a callback on the event, as it seems clSetEventCallback
is missing from opencl.net
.
Does anyone know how to await
an asynchronous operation in opencl.net
?
asked 16 secs ago
Asynchronous API
Aucun commentaire:
Enregistrer un commentaire