MatSeqAIJRestoreKokkosView#

Returns a Kokkos View obtained with MatSeqAIJGetKokkosView().

Synopsis#

Not Collective, No Fortran Support

Input Parameters#

Notes#

If the matrix is not of type MATSEQAIJKOKKOS, an error will be raised.

When the matching MatSeqAIJGetKokkosView() returned a non-const View, the device side of the matrix is marked modified so subsequent PETSc operations see the new values. The const overload is a no-op.

See Also#

MatSeqAIJGetKokkosView(), MatSeqAIJRestoreKokkosViewWrite(), MatSeqAIJGetKokkosViewWrite()

Level#

intermediate

Location#

include/petscmat_kokkos.hpp


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages