---
title: deviceArchitectureName
framework: coreai
role: symbol
role_heading: Type Property
path: coreai/aimodel/devicearchitecturename
---

# deviceArchitectureName

The Core AI architecture name of the current device.

## Declaration

```swift
static var deviceArchitectureName: String { get }
```

## Mentioned in

Compiling Core AI models ahead of time

## Discussion

Discussion When compiling model assets ahead of time with xcrun coreai-build compile, the toolchain produces artifacts for specific device architectures. Use this property to discover which compiled asset matches the current device.
