Re: JOCL code working under Snow Leopard but not on Lion
Posted by Giovanni Idili on Aug 30, 2011; 11:44pm
URL: https://forum.jogamp.org/Code-working-under-Snow-Leopard-but-not-on-Lion-tp3296875p3296960.html
Nice explanation - thanks!
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).
Thanks again.
P.S. thanks for the tip on CLWork - I didn't notice the update, need to stay on top of your blog posts!