my program varies between 2 different results everytime i start it. It got different results on GPU & CPU either!
I'm using 10.7b, Windows 7 64bit and SDK 2.2. The problem existed on 2.1 too.
The result is computed out of an array of 175 unsigned longs, which seem to differ only at the last few bits.
Both results are CPU only. It doesn't matter how often i start it, it varies between these two results:
Whats happening here? Do i got an Error in my program?
Maybe its because of the floating point accuracy?
The complete source code, kernel and .exe is here:
If you want to use your CPU, just start it with an random command line argument.