[petsc-users] MatSetValues() for MATMPICUSP

Jed Brown jedbrown at mcs.anl.gov
Fri Feb 10 14:51:50 CST 2012


On Fri, Feb 10, 2012 at 14:49, recrusader <recrusader at gmail.com> wrote:

> Since MATMPIAIJ works (I didn't change anything. Just set the vec and mat
> types to mpicusp and mpiaijcusp for GPU), I think the problem is likely
> from MatSetValues_MPIAIJ().
>
> Which PETSc examples can test this function?


Try src/ksp/ksp/examples/tutorials/ex43.c and
src/snes/examples/tutorials/ex48.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120210/f5d1d11b/attachment.htm>


More information about the petsc-users mailing list