[petsc-users] Offloading linear solves in time stepper to GPU

Harshad Sahasrabudhe hsahasra at purdue.edu
Sat May 30 21:55:14 CDT 2015


>
>  Is your plan to use a single MPI process (that is the same as a
> sequential program) and ONE GPU for the solver or do you wish to have MPI
> parallelism for the linear solver where each MPI process uses a GPU for its
> part?


For now, I want to serialize the matrices and vectors and offload them to 1
GPU from the root process. Then distribute the result later.

Harshad

On Sat, May 30, 2015 at 10:21 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On May 30, 2015, at 8:44 PM, Harshad Sahasrabudhe <hsahasra at purdue.edu>
> wrote:
> >
> > Hi,
> >
> > I need to offload the linear solves in a time stepper to GPUs. I'll be
> using the MAGMA sparse iterative solvers. What is the simplest way to
> achieve this? Is is better to write a new KSPType or is there a KSP wrapper
> which I can use?
>
>    We do not have any KSPType for the MAGMA sparse iterative solvers.
>
>    Is your plan to use a single MPI process (that is the same as a
> sequential program) and ONE GPU for the solver or do you wish to have MPI
> parallelism for the linear solver where each MPI process uses a GPU for its
> part?
>
>   Barry
>
> >
> > Many thanks,
> > Harshad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150530/097fe93e/attachment.html>


More information about the petsc-users mailing list