[petsc-dev] HIP / hypre

Jacob Faibussowitsch jacob.fai at gmail.com
Wed Nov 10 12:17:12 CST 2021


I’m in the process of implementing asynchronous GPU support for petsc. A side effect of this is that I unify the cuda/hip interface such that anywhere we have cuda-like code we will automatically also get the hip variant.

The scaffolding is in include/petsc/private/cupminterface.hpp, but for concrete examples see the jacobf/2021-10-21/veccupm-async branch for the WIP port of VecSeq in src/vec/vec/impls/seq/seqcupm/veccupm.hpp.

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)

> On Nov 10, 2021, at 11:50, Justin Chang <jychang48 at gmail.com> wrote:
> 
> Paul Bauman was also involved with the HIP port of HYPRE. Several of us at AMD are interested in getting HIP support for PETSc in general, and having HYPRE support would greatly help
> 
> On Wed, Nov 10, 2021 at 11:47 AM Stefano Zampini <stefano.zampini at gmail.com <mailto:stefano.zampini at gmail.com>> wrote:
> I did the work last summer. It's already available in 3.16
> 
> Il Mer 10 Nov 2021, 20:44 Mark Adams <mfadams at lbl.gov <mailto:mfadams at lbl.gov>> ha scritto:
> Hypre has released HIP support and Ulrike says:
> 
> I just want to let you know that hypre can now be used through PETSc with GPUs (both Nvidia and AMD).
> 
> I am guessing we have some work to do to make this happen.
> 
> What should I do?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211110/a87e8ac8/attachment.html>


More information about the petsc-dev mailing list