---
title: MLCDeviceType.cpu
framework: ML Compute
role: symbol
role_heading: Case
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcdevicetype/cpu
---

# MLCDeviceType.cpu

A device type that represents the CPU.

## Declaration

```swift
case cpu
```

## See Also

### Device Types

- [MLCDeviceType.any](mlcompute/mlcdevicetype/any.md)
- [MLCDeviceType.gpu](mlcompute/mlcdevicetype/gpu.md)
- [MLCDeviceType.ane](mlcompute/mlcdevicetype/ane.md)
