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 <[email protected]> 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 <[email protected] > <mailto:[email protected]>> wrote: > I did the work last summer. It's already available in 3.16 > > Il Mer 10 Nov 2021, 20:44 Mark Adams <[email protected] > <mailto:[email protected]>> 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?
