Lines Matching refs:numChildren
29 …numChildren, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Device context still has %" PetscInt_FMT … in destroy_()
50 dctx->numChildren = 0; in reset_()
602 dctx->numChildren += n; in PetscDeviceContextForkWithStreamType()
604 if (dctx->numChildren > dctx->maxNumChildren) { in PetscDeviceContextForkWithStreamType()
605 const auto numChildren = dctx->numChildren; in PetscDeviceContextForkWithStreamType() local
607 auto numAllocated = numChildren; in PetscDeviceContextForkWithStreamType()
614 PetscCall(PetscRealloc(numChildren * sizeof(*childIDs), &childIDs)); in PetscDeviceContextForkWithStreamType()
619 PetscCall(PetscCalloc1(numChildren, &childIDs)); in PetscDeviceContextForkWithStreamType()
622 maxNumChildren = numChildren; in PetscDeviceContextForkWithStreamType()
625 for (PetscInt i = 0; ninput && (i < dctx->numChildren); ++i) { in PetscDeviceContextForkWithStreamType()
783 auto &nchild = dctx->numChildren; in PetscDeviceContextJoin()
1024 PetscCall(PetscViewerASCIIPrintf(sub, "children: %" PetscInt_FMT "\n", dctx->numChildren)); in PetscDeviceContextView()
1025 if (const auto nchild = dctx->numChildren) { in PetscDeviceContextView()