petsc-3.15.0 2021-03-30
MatDenseCUDAResetArray
Resets the matrix array to that it previously had before the call to MatDenseCUDAPlaceArray()
Synopsis
#include "petscmat.h"
PetscErrorCode MatDenseCUDAResetArray(Mat mat)
Not Collective
Input Parameters
Notes
You can only call this after a call to MatDenseCUDAPlaceArray()
See Also
MatDenseCUDAGetArray(), MatDenseCUDAPlaceArray()
Level
developer
Location
src/mat/impls/dense/mpi/mpidense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages