Hi everyone,
I have a question about double precision calculations and differences between the gpu and cpu. The things is, when I run a program in both the gpu and cpu I received the following results:
GPU
30 1.5372E-02 1.5372E-02
35 1.5441E-02 1.5441E-02
40 6.5295E-02 6.5295E-02
45 1.5270E-02 1.5270E-02
50 1.5169E-02 1.5169E-02
55 1.5003E-02 1.5003E-02
60 1.5029E-02 1.5029E-02
65 1.5196E-02 1.5196E-02
CPU
30 1.5377E-02 1.5377E-02
35 1.6565E-02 1.6565E-02
40 1.5115E-02 1.5115E-02
45 1.5050E-02 1.5050E-02
50 1.5396E-02 1.5396E-02
55 1.5078E-02 1.5078E-02
60 1.5012E-02 1.5012E-02
65 1.5310E-02 1.5310E-02
As you can see, there are discrepancies in the results even though I had the following flags: -r8 -i8 and -03. Does anyone know why this might be the case?
Thank you for your time.
Sincerely,
-Chris