NekRS: GPU Computation in Single or Double Precision? #626
Unanswered
ztdepztdep
asked this question in
Performance
Replies: 2 comments
-
By default, nekrs runs with double precision for the solvers (dfloat = double) but it uses single precision in preconditioners (pfloat = float). The current repo/next branch does support single precision for the whole solver.
You can use it by setting FP32=1 with the script like this and it should print something into the logfile.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@ztdepztdep Can we close this discussion? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running NekRS on a GPU and would like to know whether the computations are performed in single precision (FP32) or double precision (FP64) by default.
Does NekRS always use double precision on GPUs, or is there an option to switch to single precision?
If FP32 is supported, how can I enable it?
Are there any performance considerations when choosing between FP32 and FP64, especially for different GPU architectures (e.g., NVIDIA vs. AMD GPUs)?
Any insights or recommendations would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions