# PetscDeviceConfigure
Configure a particular `PetscDevice` 
## Synopsis
```
#include <petscdevice.h> 
PetscErrorCode PetscDeviceConfigure(PetscDevice device)
```
Not Collective


## Input Parameter

- ***device -*** The `PetscDevice` to configure



## Notes
The user should not assume that this is a cheap operation.




## See Also
 `PetscDevice`, `PetscDeviceCreate()`, `PetscDeviceView()`, `PetscDeviceDestroy()`,
`PetscDeviceGetType()`, `PetscDeviceGetDeviceId()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/device/interface/device.cxx.html#PetscDeviceConfigure">src/sys/objects/device/interface/device.cxx</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/device/interface/device.cxx)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
