PETSc version 3.16.5
Fix/Edit manual page

# PetscDeviceCreate

Get a new handle for a particular device kind

### Synopsis

    PetscErrorCode PetscDeviceCreate(PetscDeviceKind kind, PetscDevice *device)

Not Collective, Possibly Synchronous

### Input Parameter

| kind | - The kind of PetscDevice

### Output Parameter

| device | - The PetscDevice

### 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