---
title: allowedComputeUnitKinds
framework: coreai
role: symbol
role_heading: Instance Property
path: coreai/specializationoptions/allowedcomputeunitkinds
---

# allowedComputeUnitKinds

The set of compute units the specialized model can use.

## Declaration

```swift
var allowedComputeUnitKinds: Set<ComputeUnitKind> { get }
```

## Discussion

Discussion The model may use all or any subset of the kinds in this set during inference.
