:orphan: # PetscDeviceContextGetStreamType Get the implementation type of the underlying stream for a `PetscDeviceContext` ## Synopsis ``` #include PetscErrorCode PetscDeviceContextGetStreamType(PetscDeviceContext dctx, PetscStreamType *type) ``` Not Collective ## Input Parameter - ***dctx -*** The `PetscDeviceContext` ## Output Parameter - ***type -*** The `PetscStreamType` ## Note See `PetscStreamType` in `include/petscdevicetypes.h` for more information on the available types and their interactions ## See Also `PetscDeviceContextSetStreamType()`, `PetscDeviceContextCreate()`, `PetscDeviceContextSetFromOptions()` ## Level beginner ## Location src/sys/objects/device/interface/dcontext.cxx --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/device/interface/dcontext.cxx) [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)