:orphan: # PetscDeviceContext Container to manage stream dependencies and the various solver handles for asynchronous device compute. ## Synopsis ``` #include typedef struct _p_PetscDeviceContext *PetscDeviceContext; ``` ## See Also `PetscDevice`, `PetscDeviceContextCreate()`, `PetscDeviceContextSetDevice()`, `PetscDeviceContextDestroy()`, `PetscDeviceContextFork()`, `PetscDeviceContextJoin()` ## Level beginner ## Location include/petscdevicetypes.h ## Implementations _p_PetscDeviceContext in include/petsc/private/deviceimpl.h
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdevicetypes.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)