---
title: type
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcdevice/type
---

# type

The type you specify when creating the device.

## Declaration

```swift
var type: MLCDeviceType { get }
```

## See Also

### Inspecting Devices

- [actualDeviceType](mlcompute/mlcdevice/actualdevicetype.md)
- [gpuDevices](mlcompute/mlcdevice/gpudevices.md)
