---
title: usesCPUOnly
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vnrequest/usescpuonly
---

# usesCPUOnly

A Boolean signifying that the Vision request should execute exclusively on the CPU.

## Declaration

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

## Discussion

Discussion This value defaults to false to signify that the Vision request is free to leverage the GPU to accelerate its processing.

## See Also

### Configuring a Request

- [VNRequestCompletionHandler](vision/vnrequestcompletionhandler.md)
- [completionHandler](vision/vnrequest/completionhandler.md)
- [preferBackgroundProcessing](vision/vnrequest/preferbackgroundprocessing.md)
- [results](vision/vnrequest/results.md)
- [revision](vision/vnrequest/revision.md)
