---
title: hasUnifiedMemory
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/hasunifiedmemory
---

# hasUnifiedMemory

A Boolean value that indicates whether the GPU shares all of its memory with the CPU.

## Declaration

```swift
var hasUnifiedMemory: Bool { get }
```

## Discussion

Discussion A GPU with unified memory (true) is typically an integrated GPU. A GPU with dedicated memory (false) may take additional time to synchronize managed resources or copy data into private GPU resources.

## See Also

### Checking a GPU device’s memory

- [currentAllocatedSize](metal/mtldevice/currentallocatedsize.md)
- [recommendedMaxWorkingSetSize](metal/mtldevice/recommendedmaxworkingsetsize.md)
- [maxTransferRate](metal/mtldevice/maxtransferrate.md)
