You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup step in amgcl is always performed on the CPU. When a GPU is used, there is an additional overhead of moving the constructed hierarchy to the GPU memory. So the setup on a GPU always takes more time than a setup on the CPU.
You could try to solve the system using a simple single-level preconditioner (for example, CG+SPAI0, using amgcl::relaxation::as_preconditioner<Backend, Relaxation>). The solution step should be more expensive than with AMG, but the setup would be much cheaper, so you could win overall.
I hope to tune my AMGCL for better performance. For context, I am trying to solve large symmtric Poisson matrix with 3189488 unknowns: https://drive.google.com/drive/folders/1_igHqFW3HDUReTsp7Ve6bba0zuZbpbSl?usp=sharing.
I used the same code as the Poisson3D tutorial, but I changed the solver from
bicgstab
tocg
. The following is the benchmarking:The text was updated successfully, but these errors were encountered: