---
title: MLComputeUnits.all
framework: coreml
role: symbol
role_heading: Case
path: coreml/mlcomputeunits/all
---

# MLComputeUnits.all

The option you choose to allow the model to use all compute units available, including the neural engine.

## Declaration

```swift
case all
```

## See Also

### Processing Unit Configurations

- [MLComputeUnits.cpuOnly](coreml/mlcomputeunits/cpuonly.md)
- [MLComputeUnits.cpuAndGPU](coreml/mlcomputeunits/cpuandgpu.md)
- [MLComputeUnits.cpuAndNeuralEngine](coreml/mlcomputeunits/cpuandneuralengine.md)
