Home
last modified time | relevance | path

Searched refs:maxNumChildren (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/objects/device/interface/
H A Ddcontext.cxx53 PetscCall(PetscArrayzero(dctx->childIDs, dctx->maxNumChildren)); in reset_()
604 if (dctx->numChildren > dctx->maxNumChildren) { in PetscDeviceContextForkWithStreamType()
606 auto &maxNumChildren = dctx->maxNumChildren; in PetscDeviceContextForkWithStreamType() local
612 numAllocated -= maxNumChildren; in PetscDeviceContextForkWithStreamType()
616 PetscCall(PetscArrayzero(std::next(childIDs, maxNumChildren), numAllocated)); in PetscDeviceContextForkWithStreamType()
622 maxNumChildren = numChildren; in PetscDeviceContextForkWithStreamType()
782 const auto maxchild = dctx->maxNumChildren; in PetscDeviceContextJoin()
/petsc/include/petsc/private/
H A Ddeviceimpl.h135 …PetscCheck(pvdc_dctx_->numChildren <= pvdc_dctx_->maxNumChildren, PETSC_COMM_SELF, PETSC_ERR_ARG_C…
136 pvdc_dctx_->numChildren, pvdc_dctx_->maxNumChildren); \
241 …PetscInt maxNumChildren; /* how many children can this context have room for without reallo… member