Searched refs:maxNumChildren (Results 1 – 2 of 2) sorted by relevance
53 PetscCall(PetscArrayzero(dctx->childIDs, dctx->maxNumChildren)); in reset_()604 if (dctx->numChildren > dctx->maxNumChildren) { in PetscDeviceContextForkWithStreamType()606 auto &maxNumChildren = dctx->maxNumChildren; in PetscDeviceContextForkWithStreamType() local612 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()
135 …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