Lines Matching refs: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()
406 auto &deps = mapit->second.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()
576 auto &object_dependencies = marked.dependencies; in MarkFromID_IncompatibleModes()
597 auto &object_dependencies = marked.dependencies; in PetscDeviceContextMarkIntentFromID_Private()