---
title: registryID
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/registryid
---

# registryID

The GPU device’s registry identifier.

## Declaration

```swift
var registryID: UInt64 { get }
```

## Discussion

Discussion You can use the value to identify the same GPU across task boundaries because it’s global to all tasks.

## See Also

### Identifying a GPU device

- [name](metal/mtldevice/name.md)
- [architecture](metal/mtldevice/architecture.md)
- [MTLArchitecture](metal/mtlarchitecture.md)
- [location](metal/mtldevice/location.md)
- [MTLDeviceLocation](metal/mtldevicelocation.md)
- [locationNumber](metal/mtldevice/locationnumber.md)
- [isLowPower](metal/mtldevice/islowpower.md)
- [isRemovable](metal/mtldevice/isremovable.md)
- [isHeadless](metal/mtldevice/isheadless.md)
- [peerGroupID](metal/mtldevice/peergroupid.md)
- [peerCount](metal/mtldevice/peercount.md)
- [peerIndex](metal/mtldevice/peerindex.md)
