Suyash1989 / cfd-with-cuda

Automatically exported from code.google.com/p/cfd-with-cuda
0 stars 0 forks source link

Use of single/double precision #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently single precision is used for the solution of the linear system. 
Single and double precision use should be compared in terms of

1. Solution accuracy.
2. Convergence of nonlinear iterations.
3. Speed.

This should be done for both CPU and GPU.

Original issue reported on code.google.com by cuneytsert on 7 Apr 2012 at 10:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
For the GPU part nvcc must be used with
-arch=sm_13
parameter and without
-DSINGLE
parameter. The code compiles and runs without problems. Tests should be done.

Original comment by cuneytsert on 12 Oct 2012 at 12:37

GoogleCodeExporter commented 8 years ago
With the tests I did for the Poisson solver, for large meshes single precision 
may give unexpected results and should be avoided.

More systematic tests are necessary.

Original comment by cuneytsert on 8 Dec 2012 at 1:47