Searched refs:array_allocated (Results 1 – 11 of 11) sorted by relevance
38 s->array_allocated = array; in VecCreate_Seq()52 s->array_allocated = (PetscScalar *)aarray; in VecCreate_Seq()61 s->array_allocated = (PetscScalar *)aarray; in VecCreate_Seq()
642 if (vs) PetscCall(PetscShmgetDeallocateArray((void **)&vs->array_allocated)); in VecDestroy_Seq()707 if (m) ((Vec_Seq *)(*V)[0]->data)->array_allocated = array; in VecDuplicateVecs_Seq_GEMV()859 s->array_allocated = NULL; in VecCreate_Seq_Private()
868 PetscCall(PetscFree(v->array_allocated)); in VecReplaceArray_Seq()869 v->array_allocated = v->array = (PetscScalar *)a; in VecReplaceArray_Seq()
375 if (auto &alloc = VecIMPLCast(v)->array_allocated) PetscFunctionReturn(PETSC_SUCCESS); in HostAllocateCheck_()468 if (auto &array_allocated = vimpl->array_allocated) { in DestroyHost_() local472 PetscCall(PetscFree(array_allocated)); in DestroyHost_()761 auto &host_array = vimpl->array_allocated; in ReplaceArray()1140 auto &impl_alloc = vimpl->array_allocated; in Convert_IMPL_IMPLCUPM()
232 PetscScalar *array_allocated; /* if the array was allocated by PETSc this is its pointer */ \
100 if (m) ((Vec_MPI *)(*V)[0]->data)->array_allocated = array; in VecDuplicateVecs_MPI_GEMV()588 s->array_allocated = NULL; in VecCreate_MPI_Private()592 s->array_allocated = s->array; in VecCreate_MPI_Private()
33 PetscCall(PetscFree(x->array_allocated)); in VecDestroy_MPI()
178 s->array_allocated = array; in VecViennaCLAllocateCheckHost()291 if (vs->array_allocated) PetscCall(PetscFree(vs->array_allocated)); in VecDestroy_SeqViennaCL_Private()
452 …if (!std::is_same<DefaultMemorySpace, HostMirrorMemorySpace>::value) vecmpi->array_allocated = har… in VecCreateMPIKokkosWithArray()
1347 …if (vecseq->array != vecseq->array_allocated) PetscCall(KokkosDualViewSyncHost(veckok->v_dual, Pet… in VecReplaceArray_SeqKokkos()1363 PetscCall(PetscFree(vecseq->array_allocated)); in VecGetLocalVector_SeqKokkos()
360 if (auto &alloced = wseq->array_allocated) { in GetLocalVector()