I noticed some kind of situation that occurs when I "open" my notebook and start working with my code.
At night , I just closed it and it went in "suspend mode"..
in the morning , I open it, go to Eclipse and run application that I had worked in the previous day .
I got a lot of invalid values.. Like a "memory with invalid values". .. And I suppose they are, as they are the results of the buffer ..but,
I really expect the results of the CL program that I had executed previous day , as I did not and do not change the code..
I had noticed several days.. I just got and get proper values when I change the CL code.. it seems that the program or the code does not recompile and does not build the program after a "suspension"..
Hope I had explained the situation properly to see if anybody else has the same issue..
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();