PetscDeviceContextSetFromOptions#

Configure a PetscDeviceContext from the options database

Synopsis#

Collective on comm or dctx

Input Parameters#

  • comm - MPI communicator on which to query the options database (optional)

  • dctx - The PetscDeviceContext to configure

Output Parameter#

Options Database Keys#

Note#

The user may pass MPI_COMM_NULL for comm in which case the communicator of dctx is used (which is always PETSC_COMM_SELF).

See Also#

PetscDeviceContextSetStreamType(), PetscDeviceContextSetDevice(), PetscDeviceContextView()

Level#

beginner

Location#

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


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