MatSeqAIJRestoreKokkosViewWrite#
Returns a Kokkos View obtained with MatSeqAIJGetKokkosViewWrite().
Synopsis#
PetscErrorCode MatSeqAIJRestoreKokkosViewWrite(Mat, Kokkos::View<PetscScalar *> *)
Not Collective, No Fortran Support
Input Parameters#
A - the matrix in type of
MATSEQAIJKOKKOSkv - the Kokkos View previously obtained with
MatSeqAIJGetKokkosViewWrite()
Notes#
If the matrix is not of type MATSEQAIJKOKKOS, an error will be raised.
The device side of the matrix is marked modified so subsequent PETSc operations see the new values.
See Also#
MatSeqAIJGetKokkosViewWrite(), MatSeqAIJGetKokkosView(), MatSeqAIJRestoreKokkosView()
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages