Home
last modified time | relevance | path

Searched refs:user_alloc (Results 1 – 4 of 4) sorted by relevance

/petsc/src/mat/impls/dense/seq/hdf5/
H A Ddensehdf5.c87 impl->user_alloc = PETSC_FALSE; in MatLoad_Dense_HDF5()
/petsc/src/mat/impls/dense/seq/
H A Ddense.h25 PetscBool user_alloc; /* true if the user provided the dense data */ member
H A Ddense.c1667 a->unplaced_user_alloc = a->user_alloc; in MatDensePlaceArray_SeqDense()
1669 a->user_alloc = PETSC_TRUE; in MatDensePlaceArray_SeqDense()
1684 a->user_alloc = a->unplaced_user_alloc; in MatDenseResetArray_SeqDense()
1699 if (!a->user_alloc) PetscCall(PetscFree(a->v)); in MatDenseReplaceArray_SeqDense()
1701 a->user_alloc = PETSC_FALSE; in MatDenseReplaceArray_SeqDense()
1718 if (!l->user_alloc) PetscCall(PetscFree(l->v)); in MatDestroy_SeqDense()
3294 if (!b->user_alloc) PetscCall(PetscFree(b->v)); in MatSeqDenseSetPreallocation_SeqDense()
3297 b->user_alloc = PETSC_FALSE; in MatSeqDenseSetPreallocation_SeqDense()
3299 if (!b->user_alloc) PetscCall(PetscFree(b->v)); in MatSeqDenseSetPreallocation_SeqDense()
3301 b->user_alloc = PETSC_TRUE; in MatSeqDenseSetPreallocation_SeqDense()
[all …]
/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp1004 if (!MatIMPLCast(A)->user_alloc) A->offloadmask = PETSC_OFFLOAD_CPU; in Destroy()