---
title: useSingleThread
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/bnnsgraph/compileoptions/usesinglethread
---

# useSingleThread

A Boolean value that specifies whether the graph executes on one thread.

## Declaration

```swift
var useSingleThread: Bool { get set }
```

## See Also

### Specifying and querying compilation options

- [generateDebugInfo](accelerate/bnnsgraph/compileoptions/generatedebuginfo.md)
- [optimizationPreference](accelerate/bnnsgraph/compileoptions/optimizationpreference-swift.property.md)
