PETSc version 3.16.4
PetscDeviceCreate
Get a new handle for a particular device kind
Synopsis
PetscErrorCode PetscDeviceCreate(PetscDeviceKind kind, PetscDevice *device)
Not Collective, Possibly Synchronous
Input Parameter
Output Parameter
Notes
If this is the first time that a PetscDevice is created, this routine may initialize
the corresponding backend. If this is the case, this will most likely cause some sort of
device synchronization.
See Also
PetscDeviceConfigure(), PetscDeviceDestroy()
Level
beginner
Location
src/sys/objects/device/interface/device.cxx
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages