---
title: MLCDeviceType.gpu
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/gpu
---

# MLCDeviceType.gpu

A device type that represents the GPU.

## Declaration

```swift
case gpu
```

## See Also

### Device Types

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