PetscDeviceGetType#

Get the type of device

Synopsis#

#include <petscdevice.h> 
PetscErrorCode PetscDeviceGetType(PetscDevice device, PetscDeviceType *type)

Not Collective

Input Parameter#

Output Parameter#

See Also#

PetscDevice, PetscDeviceType, PetscDeviceSetDefaultDeviceType(), PetscDeviceCreate(), PetscDeviceConfigure(), PetscDeviceDestroy(), PetscDeviceGetDeviceId(), PETSC_DEVICE_DEFAULT()

Level#

beginner

Location#

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


Edit on GitLab

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