PETSc version 3.16.6
Fix/Edit manual page

MatSeqAIJCUSPARSEGetArray

gives read-write access to the array where the device data for a MATSEQAIJCUSPARSE matrix is stored

Synopsis

#include "petscmat.h" 
PetscErrorCode MatSeqAIJCUSPARSEGetArray(Mat A, PetscScalar** a)
Not Collective

Input Parameter

A - a MATSEQAIJCUSPARSE matrix

Output Parameter

a - pointer to the device data

Notes: may trigger host-device copies if up-to-date matrix data is on host

See Also

MatSeqAIJCUSPARSEGetArrayRead(), MatSeqAIJCUSPARSEGetArrayWrite(), MatSeqAIJCUSPARSERestoreArray()

Level

developer

Location

src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages