Reply – Re: JOCL code working under Snow Leopard but not on Lion
Your Name
Subject
Message
or Cancel
In Reply To
Re: JOCL code working under Snow Leopard but not on Lion
— by Giovanni Idili Giovanni Idili
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!