PETSc version 3.16.5
Fix/Edit manual page

# PetscDeviceConfigure

Configure a particular PetscDevice

### Synopsis

    PetscErrorCode PetscDeviceConfigure(PetscDevice device)

Not Collective, Asynchronous

### Input Parameter

| device | - The PetscDevice to Configure

### Developer Notes

Currently just sets the active device (i.e. by calling cudaSetDevice() for example)

### See Also

PetscDeviceCreate(), PetscDeviceDestroy()

### Level

developer

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