MatDenseHIPSetPreallocation#
Set the device array used for storing the matrix elements of a MATDENSEHIP
matrix
Synopsis#
PetscErrorCode MatDenseHIPSetPreallocation(Mat A, PetscScalar *device_array)
Collective
Input Parameters#
A - the matrix
device_array - the array (or
NULL
)
See Also#
Matrices, Mat
, MATDENSEHIP
, MatCreate()
, MatCreateDenseHIP()
,
MatSetValues()
, MatDenseSetLDA()
Level#
intermediate
Location#
src/mat/impls/dense/mpi/cupm/hip/matmpidensehip.hip.cpp
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages