[petsc-users] comparing HYPRE on CPU vs GPU
nicola varini
nicola.varini at gmail.com
Thu Nov 24 10:19:57 CST 2022
Dear all, I am comparing the HYPRE boomeramg preconditioner on CPU and GPU.
It looks like the defaults are different, therefore I tried to specify the
match the options.
I have a few observations/questions:
1) Why are the residuals at step 0 different?
2) If the options are the same the number of iterations should be the same?
3) Why on the GPU side the PCApply doesn't seem to be done on GPU?
I noticed that if I change certain options, like
pc_hypre_boomeramg_relax_type_all symmetric SOR/Jacobi, the KSPSolve get
slower and performs on CPU.
However, how can I diagnose if the computations are perfomed on GPU or not?
Thanks very much,
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221124/5176af2b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_cpu
Type: application/octet-stream
Size: 16429 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221124/5176af2b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_gpu
Type: application/octet-stream
Size: 17438 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221124/5176af2b/attachment-0003.obj>
More information about the petsc-users
mailing list