Lines Matching full:dependencies

256     dependency_type       dependencies{};  member
359 …tscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **ndeps, PetscEvent ***dependencies) in PetscGetMarkedObjectMap_Internal() argument
366 PetscCall(PetscMalloc4(size, keys, size, modes, size, ndeps, size, dependencies)); in PetscGetMarkedObjectMap_Internal()
373 (*ndeps)[i] = it.second.dependencies.size(); in PetscGetMarkedObjectMap_Internal()
374 (*dependencies)[i] = nullptr; in PetscGetMarkedObjectMap_Internal()
375 PetscCall(PetscMalloc1((*ndeps)[i], (*dependencies) + i)); in PetscGetMarkedObjectMap_Internal()
376 for (auto &&dep : it.second.dependencies) (*dependencies)[i][j++] = dep.event(); in PetscGetMarkedObjectMap_Internal()
382 …tscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **ndeps, PetscEvent ***dependencies) in PetscRestoreMarkedObjectMap_Internal() argument
385 for (std::size_t i = 0; i < nkeys; ++i) PetscCall(PetscFree((*dependencies)[i])); in PetscRestoreMarkedObjectMap_Internal()
386 PetscCall(PetscFree4(*keys, *modes, *ndeps, *dependencies)); in PetscRestoreMarkedObjectMap_Internal()
402 // has been finalized (and cleared), and hence might fail to find its dependencies. This is in PetscDeviceContextMapIterVisitor()
403 // perfectly valid since the user no longer cares about dangling dependencies after PETSc in PetscDeviceContextMapIterVisitor()
406 auto &deps = mapit->second.dependencies; in PetscDeviceContextMapIterVisitor()
413 // continue to next object, but erase this one if it has no more dependencies in PetscDeviceContextMapIterVisitor()
503 auto &object_dependencies = marked.dependencies; in MarkFromID_CompatibleModes()
533 auto &last_dep = marked.dependencies.back(); in MarkFromID_IncompatibleModes_UpdateLastWrite()
537 …(marked.dependencies.size() == 1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Can only have a single writer … in MarkFromID_IncompatibleModes_UpdateLastWrite()
552 …M_SELF, PETSC_ERR_PLIB, "Did not find id %" PetscInt64_FMT "in object dependencies, but we have ap… in MarkFromID_IncompatibleModes_UpdateLastWrite()
576 auto &object_dependencies = marked.dependencies; in MarkFromID_IncompatibleModes()
581 … object_dependencies.size(), object_dependencies.size() == 1 ? "dependency" : "dependencies")); in MarkFromID_IncompatibleModes()
588 // clear out the old dependencies if are about to append ourselves in MarkFromID_IncompatibleModes()
597 auto &object_dependencies = marked.dependencies; in PetscDeviceContextMarkIntentFromID_Private()
631 represented by `id` with `mode` and adds `dctx` to `id`'s list of dependencies (termed