– Re: JOCL code working under Snow Leopard but not on Lion
In Reply To
I tried on snow leopard with LWS = 0 and not rounding up and it works but it is many times slower as expected (because it may be not optimal, up to 10 times slower in my case).
Will give it a shot tomorrow on Lion.
What's the best way to figure out the optimal LWS on a generic system using some reasonable assumptions (I considered WGS=256 a reasonable assumption ... I must assume Lion drivers somehow screwed up that assumption)? I copied that code from one of your examples and indeed my kernel does the overflow check (as per your examples).
P.S. thanks for the tip on CLWork - I didn't notice the update, need to stay on top of your blog posts!
Nice explanation - thanks!