MatSeqAIJHIPSPARSEGetArray#
gives read-write access to the array where the device data for a MATSEQAIJHIPSPARSE matrix is stored Not Collective
Synopsis#
#include "petscmat.h"
PetscErrorCode MatSeqAIJHIPSPARSEGetArray(Mat A, PetscScalar **a)
Input Parameter#
A - a MATSEQAIJHIPSPARSE 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#
MatSeqAIJHIPSPARSEGetArrayRead()
, MatSeqAIJHIPSPARSEGetArrayWrite()
, MatSeqAIJHIPSPARSERestoreArray()
Level#
developer
Location#
src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages