Login  Register

Re: Invalid values on the 1st execution

Posted by Abimael on Oct 14, 2011; 9:05pm
URL: https://forum.jogamp.org/Invalid-values-on-the-1st-execution-tp3418313p3422836.html


Hi
Let me try to explain better ...

I am working on the laptop ..
Then , I need to go out and I close the notebook , that it will go to suspend.
when I came back, I open it and it go out of suspension.
When  I try to run the code,  I got NAN on the results..
It just come back work properly when I change the code ..
it seems that "it"  (I do not know who is "it") does not rebuild the program ..

 I am using a CL file :
program = context.createProgram(TesteJocl1.class.getResourceAsStream(arquivo));
program = program.build();
....

What am I doing wrong ?