---
title: MLCPUComputeDevice
framework: coreml
role: symbol
role_heading: Class
path: coreml/mlcpucomputedevice
---

# MLCPUComputeDevice

An object that represents a CPU compute device.

## Declaration

```swift
class MLCPUComputeDevice
```

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MLComputeDeviceProtocol](coreml/mlcomputedeviceprotocol.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Compute devices

- [MLComputeDevice](coreml/mlcomputedevice.md)
- [MLGPUComputeDevice](coreml/mlgpucomputedevice.md)
- [MLNeuralEngineComputeDevice](coreml/mlneuralenginecomputedevice.md)
- [MLComputeDeviceProtocol](coreml/mlcomputedeviceprotocol.md)
