
Cloo & GPU & ComputeEvent`s Completed handler issue
Posted Wednesday, 16 November, 2011 - 10:51 by cad_andry inHi!
Using code like
var events = new ComputeEventList(); queue.Execute(kernel, null, new long[] { len }, null, events); events.Last.Completed += ComputeFinished;
to execute both on GPU and CPU async contexts (amd, driver version 11.10).
On cpu context it always doing well, but never runs on GPU context.
Are there any solutions to fix this?
Thanks.


Comments
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
I think this works on Nvidia GPUs, which could mean it is a driver issue. However, let me check again, as soon as I get home tonight.
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
Any results?
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
I finally got to do some tests. I tried every SDK in my system with these results:
a) Both AMD APP and Intel OpenCL SDK are capable of calling back into the Computed event but,
b) Nvidia's implementation does NOT trigger it!
I tested these callbacks a while ago but I'm not sure if I tested a callback from a GPU. Let me check what's going on.
P.S.: Also, I'm downloading some newer drivers to see if that makes any difference.
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
Hm.. I`m using AMD based station to test (phenom x4 + hd4500)
Driver version is 11.10
win7x64
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
It would seem I found the problem. I'll update Cloo in a couple of days.
Thanks for your feedback!
Re: Cloo & GPU & ComputeEvent`s Completed handler issue
Fixed in 0.9.1.