[petsc-users] Port existing GMRES+ILU(0) implementation to GPU
Junchao Zhang
junchao.zhang at gmail.com
Sun Feb 8 19:55:45 CST 2026
Hello Feng,
It is possible to run GMRES with ILU(0) on GPUs. You may need to
configure PETSc with CUDA (--with-cuda --with-cudac=nvcc) or Kokkos (with
extra --download-kokkos --download-kokkos-kernels). Then run with
-mat_type {aijcusparse or aijkokkos} -vec_type {cuda or kokkos}.
But triangular solve is not GPU friendly and the performance might be
poor. But you should try it, I think.
Thanks!
--Junchao Zhang
On Sun, Feb 8, 2026 at 5:46 PM feng wang <snailsoar at hotmail.com> wrote:
> Dear All,
>
> I have an existing implementation of GMRES with ILU(0), it works well for
> cpu now. I went through the Petsc documentation, it seems Petsc has some
> support for GPUs. is it possible for me to run GMRES with ILU(0) in GPUs?
>
> Many thanks for your help in advance,
> Feng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260208/f05adb27/attachment.html>
More information about the petsc-users
mailing list