---
title: MLCExecutionOptions
framework: ML Compute
role: symbol
role_heading: Structure
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcexecutionoptions
---

# MLCExecutionOptions

A bitmask that specifies the options you use when executing a graph.

## Declaration

```swift
struct MLCExecutionOptions
```

## Topics

### Execution Options

- [init(rawValue:)](mlcompute/mlcexecutionoptions/init(rawvalue:).md)
- [skipWritingInputDataToDevice](mlcompute/mlcexecutionoptions/skipwritinginputdatatodevice.md)
- [synchronous](mlcompute/mlcexecutionoptions/synchronous.md)
- [profiling](mlcompute/mlcexecutionoptions/profiling.md)
- [perLayerProfiling](mlcompute/mlcexecutionoptions/perlayerprofiling.md)
- [forwardForInference](mlcompute/mlcexecutionoptions/forwardforinference.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Executing Inference Graphs

- [execute(inputsData:batchSize:options:completionHandler:)](mlcompute/mlcinferencegraph/execute(inputsdata:batchsize:options:completionhandler:).md)
- [execute(inputsData:outputsData:batchSize:options:completionHandler:)](mlcompute/mlcinferencegraph/execute(inputsdata:outputsdata:batchsize:options:completionhandler:).md)
- [execute(inputsData:lossLabelsData:lossLabelWeightsData:batchSize:options:completionHandler:)](mlcompute/mlcinferencegraph/execute(inputsdata:losslabelsdata:losslabelweightsdata:batchsize:options:completionhandler:).md)
- [execute(inputsData:lossLabelsData:lossLabelWeightsData:outputsData:batchSize:options:completionHandler:)](mlcompute/mlcinferencegraph/execute(inputsdata:losslabelsdata:losslabelweightsdata:outputsdata:batchsize:options:completionhandler:).md)
- [execute(inputsData:lossLabelsData:lossLabelWeightsData:outputsData:batchSize:options:)](mlcompute/mlcinferencegraph/execute(inputsdata:losslabelsdata:losslabelweightsdata:outputsdata:batchsize:options:).md)
- [MLCGraphCompletionHandler](mlcompute/mlcgraphcompletionhandler.md)
