MatSeqAIJHIPSPARSEGetIJ#
returns the device row storage i and j indices for MATSEQAIJHIPSPARSE matrices. Not collective
Synopsis#
#include "petscmat.h"
PetscErrorCode MatSeqAIJHIPSPARSEGetIJ(Mat A, PetscBool compressed, const int **i, const int **j)
Input Parameters#
A - the matrix
compressed - PETSC_TRUE or PETSC_FALSE indicating the matrix data structure should be always returned in compressed form
Output Parameters#
ia - the CSR row pointers
ja - the CSR column indices
Notes#
When compressed is true, the CSR structure does not contain empty rows
See Also#
MatSeqAIJHIPSPARSERestoreIJ()
, MatSeqAIJHIPSPARSEGetArrayRead()
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