Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 7 of 7) sorted by relevance

/petsc/src/vec/is/sf/impls/basic/
H A Dsfpack.h369 …AndIndices(PetscSF sf, PetscSFLink link, PetscMemType mtype, PetscSFScope scope, PetscInt *count, … in PetscSFLinkGetRootPackOptAndIndices() argument
375 *count = bas->rootbuflen[scope]; in PetscSFLinkGetRootPackOptAndIndices()
376 *start = bas->rootstart[scope]; in PetscSFLinkGetRootPackOptAndIndices()
385 if (!bas->rootcontig[scope]) { in PetscSFLinkGetRootPackOptAndIndices()
386 offset = (scope == PETSCSF_LOCAL) ? 0 : bas->ioffset[bas->ndiranks]; in PetscSFLinkGetRootPackOptAndIndices()
388 *opt = bas->rootpackopt[scope]; in PetscSFLinkGetRootPackOptAndIndices()
392 if (bas->rootpackopt[scope]) { in PetscSFLinkGetRootPackOptAndIndices()
393 if (!bas->rootpackopt_d[scope]) { in PetscSFLinkGetRootPackOptAndIndices()
394 PetscCall(PetscMalloc1(1, &bas->rootpackopt_d[scope])); in PetscSFLinkGetRootPackOptAndIndices()
395 …PetscCall(PetscArraycpy(bas->rootpackopt_d[scope], bas->rootpackopt[scope], 1)); /* Make pointers … in PetscSFLinkGetRootPackOptAndIndices()
[all …]
H A Dsfpack.c819 …PetscSFLinkLogFlopsAfterUnpackRootData(PetscSF sf, PetscSFLink link, PetscSFScope scope, MPI_Op op) in PetscSFLinkLogFlopsAfterUnpackRootData() argument
826 …if (PetscMemTypeDevice(link->rootmtype)) PetscCall(PetscLogGpuFlops(bas->rootbuflen[scope] * link-… in PetscSFLinkLogFlopsAfterUnpackRootData()
829 …PetscCall(PetscLogFlops(bas->rootbuflen[scope] * link->bs)); /* # of roots in buffer x # of scalar… in PetscSFLinkLogFlopsAfterUnpackRootData()
834 …PetscSFLinkLogFlopsAfterUnpackLeafData(PetscSF sf, PetscSFLink link, PetscSFScope scope, MPI_Op op) in PetscSFLinkLogFlopsAfterUnpackLeafData() argument
839 …if (PetscMemTypeDevice(link->leafmtype)) PetscCall(PetscLogGpuFlops(sf->leafbuflen[scope] * link->… in PetscSFLinkLogFlopsAfterUnpackLeafData()
842 PetscCall(PetscLogFlops(sf->leafbuflen[scope] * link->bs)); in PetscSFLinkLogFlopsAfterUnpackLeafData()
919 …etscSFLinkPackRootData_Private(PetscSF sf, PetscSFLink link, PetscSFScope scope, const void *rootd… in PetscSFLinkPackRootData_Private() argument
928 if (!link->rootdirect[scope]) { /* If rootdata works directly as rootbuf, skip packing */ in PetscSFLinkPackRootData_Private()
929 …PetscCall(PetscSFLinkGetRootPackOptAndIndices(sf, link, rootmtype, scope, &count, &start, &opt, &r… in PetscSFLinkPackRootData_Private()
931 …PetscCall((*Pack)(link, count, start, opt, rootindices, rootdata, link->rootbuf[scope][rootmtype])… in PetscSFLinkPackRootData_Private()
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_linter.py212 for func, scope in function_list:
222 seen[combo_tup] = (func, scope)
223 elif scope >= seen[combo_tup][1]:
266 …def walk_scope_switch(parent: clx.Cursor, scope: Scope) -> Generator[tuple[clx.Cursor, clx.Cursor,…
273 case_scope = scope
280 case_scope = scope.sub()
281 yield from walk_scope(child, scope=case_scope)
289 …def walk_scope(parent: clx.Cursor, scope: Optional[Scope] = None) -> Generator[tuple[clx.Cursor, c…
294 if scope is None:
295 scope = Scope()
[all …]
/petsc/include/petsc/private/
H A Dpetscscalapack.h58 BLAS_EXTERN void Cdgebs2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI…
59 BLAS_EXTERN void Cdgebr2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI…
60 BLAS_EXTERN void Cdgsum2d(PetscBLASInt ctxt, const char *scope, const char *top, PetscBLASI…
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A DLICENSE143 covered by this License; they are outside its scope. The act of
209 the scope of this License.
244 therefore falls outside the scope of this License.
/petsc/doc/developers/
H A Dstyle.md240 scope, it is encouraged to declare them in that scope. For example:
/petsc/doc/manual/
H A Dtao.md228 local scope without the use of global variables. The TAO solvers and