---
title: BLAS.ThreadingModel
framework: accelerate
role: symbol
role_heading: Structure
path: accelerate/blas/threadingmodel-swift.struct
---

# BLAS.ThreadingModel

Constants that describe the BLAS and LAPACK threading model.

## Declaration

```swift
struct ThreadingModel
```

## Overview

Overview Use the threading model constants to specify whether BLAS and LAPACK operations run in a single thread or multiple threads. Specify the single-threaded model if your app uses its own threading mechanism.

## Topics

### Specifying a threading model

- [multiThreaded](accelerate/blas/threadingmodel-swift.struct/multithreaded.md)
- [singleThreaded](accelerate/blas/threadingmodel-swift.struct/singlethreaded.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Setting the BLAS and LAPACK threading model

- [threadingModel](accelerate/blas/threadingmodel-swift.type.property.md)
