Searched refs:user_alloc (Results 1 – 4 of 4) sorted by relevance
87 impl->user_alloc = PETSC_FALSE; in MatLoad_Dense_HDF5()
25 PetscBool user_alloc; /* true if the user provided the dense data */ member
1667 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 …]
1004 if (!MatIMPLCast(A)->user_alloc) A->offloadmask = PETSC_OFFLOAD_CPU; in Destroy()