Login  Register

Re: cl_out_of_resources in loop

Posted by manuelnOOb on May 23, 2014; 3:26pm
URL: https://forum.jogamp.org/cl-out-of-resources-in-loop-tp4032369p4032381.html

Sorry It happens in clCreateContext. I added these lines

// Create a context for the selected clDevice
clContext = clCreateContext(contextProperties, 1, new cl_device_id[]{clDevice}, null, null, errors);
System.out.println("errore " + errors[0]);

and obviously it fails on clCreateContext without giving any error, just CL_OUT_OF_RESOURCES.