Stay up to dateembedded code automagically updates, each snippet and article has a feed Join Siafoo Now or Learn More

OpenCL screen corruption

over 6 years ago

One of the things I've been working on lately involves smooth particle hydrodynamics (SPH) with OpenCL... anyway last night I tried to simulate 100k particles on my GeForce 9800 (and naive memory management)... it ran out of resources and crashed resulting in total and massive screen corruption:


Everything still worked and I could use the KDE 4.4 with compositing and everything but the whole screen was speckled. The problem only cleared up after I rebooted the machine (i.e. restarting X did nothing).