Skip to main content
Ctrl+K
PETSc v3.26.1-554-gc8d5ad6b3782 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscDeviceC...

PetscDeviceContextGetStreamType#

Get the implementation type of the underlying stream for a PetscDeviceContext

Synopsis#

#include <petscdevice.h> 
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#

intermediate

Location#

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

Examples#

src/sys/objects/device/tests/ex10.c
src/sys/objects/device/tests/ex3.c
src/sys/objects/device/tests/ex4.c
src/sys/objects/device/tests/ex7.c
src/sys/objects/device/tests/ex9.c
src/mat/tests/ex324.c


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

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • Note
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-11-28T03:39:59-0600 (v3.26.1-554-gc8d5ad6b3782).