Home
last modified time | relevance | path

Searched refs:ndeps (Results 1 – 3 of 3) sorted by relevance

/petsc/src/sys/objects/device/tests/
H A Dex11.cxx40 …tscObjectId *keys, const PetscMemoryAccessMode *modes, const std::size_t *ndeps, const PetscEvent … in MarkedObjectMapView() argument
57 for (std::size_t j = 0; j < ndeps[i]; ++j) { in MarkedObjectMapView()
74 …tscObjectId *keys, const PetscMemoryAccessMode *modes, const std::size_t *ndeps, const PetscEvent … in CheckMarkedObjectMap_Private() argument
89 PetscCall(MarkedObjectMapView(vwr, nkeys, keys, modes, ndeps, dependencies)); in CheckMarkedObjectMap_Private()
95 …_)), PetscStringize(__cond__), PETSC_COMM_SELF, dctx, nkeys, keys, modes, ndeps, const_cast<const …
120 std::size_t *ndeps; in TestAllCombinations() local
126 PetscCall(PetscGetMarkedObjectMap_Internal(&nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations()
149 …PetscCall(CheckMarkedObjectMap(ndeps[key_idx] == 1, "unexpected number of dependencies %zu, expect… in TestAllCombinations()
167 … PetscCall(PetscRestoreMarkedObjectMap_Internal(nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations()
170 PetscCall(PetscGetMarkedObjectMap_Internal(&nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations()
[all …]
/petsc/src/sys/objects/device/c/
H A Ddevice.c294 …e_t *nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, size_t **ndeps, PetscEvent ***dep… in PetscGetMarkedObjectMap_Internal() argument
300 PetscAssertPointer(ndeps, 4); in PetscGetMarkedObjectMap_Internal()
305 *ndeps = NULL; in PetscGetMarkedObjectMap_Internal()
310 …**keys, PETSC_UNUSED PetscMemoryAccessMode **modes, PETSC_UNUSED size_t **ndeps, PETSC_UNUSED Pets… in PetscRestoreMarkedObjectMap_Internal() argument
315 PetscAssertPointer(ndeps, 4); in PetscRestoreMarkedObjectMap_Internal()
319 if (*ndeps) *ndeps = NULL; in PetscRestoreMarkedObjectMap_Internal()
/petsc/src/sys/objects/device/interface/
H A Dmark_dcontext.cxx359 …nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **ndeps, PetscEvent ***dep… 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()
375 PetscCall(PetscMalloc1((*ndeps)[i], (*dependencies) + i)); in PetscGetMarkedObjectMap_Internal()
382 …nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **ndeps, PetscEvent ***dep… in PetscRestoreMarkedObjectMap_Internal() argument
386 PetscCall(PetscFree4(*keys, *modes, *ndeps, *dependencies)); in PetscRestoreMarkedObjectMap_Internal()