PetscDeviceContextQueryIdle#

Returns whether or not a PetscDeviceContext is idle

Synopsis#

Not Collective

Input Parameter#

Output Parameter#

Note#

This routine only refers a singular context and does NOT take any of its children into account. That is, if dctx is idle but has dependents who do have work this routine still returns PETSC_TRUE.

See Also#

PetscDeviceContextCreate(), PetscDeviceContextWaitForContext(), PetscDeviceContextFork()

Level#

beginner

Location#

src/sys/objects/device/interface/dcontext.cxx

Examples#

src/sys/objects/device/tests/ex9.c
src/sys/objects/device/tests/ex7.c
src/ksp/pc/tests/ex17.c
src/mat/tests/ex254.c
src/mat/tests/ex324.c
src/vec/is/sf/tests/ex26.c


Index of all Device routines
Table of Contents for all manual pages
Index of all manual pages