ofxMSAOpenCL example not working

Hi,

I’m trying to run the million particle example on oF 0.72. I made sure the opencl framework was added to my project folder, but once I run it I get this weird error. Image attached. Any ideas?

Best

s

There are quite a few variables involved in crashing in opencl, and MSAOpenCL isn’t quite robust if not used exactly right (I have forked the repos and implemented thread safety, multiple queues, multiple devices etc, but it’s not directly compatible)

anyway; Is it crashing in memobjectinit, or somewhere else? (memobject write?)
What is the call stack?
How did you setup()? (Any/Cpu/Gpu, number of devices? <- this MUST be 1 or memory will get corrupted at initialisation)
What graphics card are you using?

You’re running in debug, so presumably it’s not hit any asserts?

(I have forked the repos and implemented thread safety, multiple queues, multiple devices etc, but it’s not directly compatible)

Where’s that repo, if I can ask? I’m curious about doing some OpenCL explorations but haven’t had an addon I liked the look of yet to try it out in OF.