---
title: device
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtl4visibilityoptions/device
---

# device

Flushes caches to the GPU (device) memory coherence point.

## Declaration

```swift
static var device: MTL4VisibilityOptions { get }
```
