I am playing around a bit with OpenCL on my MacMini (Snow Leopard), writing a small raytracer. I just started with global illumination and that’s where the code crashes. When doing lots of work per kernel (a rather slow calculation in a loop) it just crashes with “BAD_ACCESS” if i do the loop many times. If i calc fewer loops it doesn’t crash. A friend of mine mentioned the possibilty of the driver stopping execution if it takes too long, could that be? (I will try the code on CPU rather than GPU after work today).
Regards and Thanks for any hints,