cl_out_of_resources in loop
Posted by
manuelnOOb on
May 22, 2014; 1:53pm
URL: https://forum.jogamp.org/cl-out-of-resources-in-loop-tp4032369.html
My program flow is something like this:
loop()
{
initGPU();
makeSomethingOnGPU()
destroyGPU();
}
I MUST put initialization and destroy steps inside the loop. After a number of correct iterations , it crashes giving CL_OUT_OF_RESOURCES error and I am not able to understand why.
I believe I destroy all resources. Following is the code
initGPUmakeSomethingOnGPUdestroyGPU