MatDenseHIPResetArray#

Resets the matrix array to that it previously had before the call to MatDenseHIPPlaceArray()

Synopsis#

#include "petscmat.h"  
PetscErrorCode MatDenseHIPResetArray(Mat mat)

Not Collective

Input Parameters#

  • mat - the matrix

Notes#

You can only call this after a call to MatDenseHIPPlaceArray()

See Also#

MatDenseHIPGetArray(), MatDenseHIPPlaceArray()

Level#

developer

Location#

src/mat/impls/dense/mpi/mpidense.c

Implementations#

MatDenseHIPResetArray_MPIDenseHIP in src/mat/impls/dense/mpi/mpidense.c
MatDenseHIPResetArray_SeqDenseHIP in src/mat/impls/dense/seq/hip/densehip.hip.c


Edit on GitLab

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