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

# location

The physical location of the GPU relative to the system.

## Declaration

```swift
var location: MTLDeviceLocation { get }
```

## Discussion

Discussion The value indicates whether the GPU connects to the system through a built-in connection, an internal card slot, or an external connection.

## See Also

### Identifying a GPU device

- [name](metal/mtldevice/name.md)
- [architecture](metal/mtldevice/architecture.md)
- [MTLArchitecture](metal/mtlarchitecture.md)
- [registryID](metal/mtldevice/registryid.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)
