<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLComputePlanDeviceUsage",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "c:objc(cs)MLComputePlanDeviceUsage"
  },
  "title" : "MLComputePlanDeviceUsage"
}
-->

# MLComputePlanDeviceUsage

The anticipated compute devices to use for executing a layer or operation.

```
@interface MLComputePlanDeviceUsage : NSObject
```

## Topics

### Getting the compute device

[`preferredComputeDevice`](/documentation/CoreML/MLComputePlanDeviceUsage/preferredComputeDevice)

The compute device that the framework prefers to execute the layer/operation.

[`supportedComputeDevices`](/documentation/CoreML/MLComputePlanDeviceUsage/supportedComputeDevices)

The compute devices that can execute the layer/operation.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)