# gpui: Take advantage of unified memory on Apple silicon \(\#45577\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ba41499bf444d0a8d37b2927b2daa83bc2e83721)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ba41499bf444d0a8d37b2927b2daa83bc2e83721

Requested commit: ba41499bf444d0a8d37b2927b2daa83bc2e83721

Commit: ba41499bf444d0a8d37b2927b2daa83bc2e83721

Tree: 0e82a310ec202d64b0b8c45ad97f1f1c9200c4f2

Author: Marco Mihai Condrache

Committer: GitHub

## Message

```
gpui: Take advantage of unified memory on Apple silicon (#45577)

Reapplies #44273

I included metal-rs upgrade so we can get this working on Intel-based
Macs

cc: @JosephTLyons @notpeter @rtfeldman @Anthony-Eid 

Release Notes:

- Reduced memory usage on Apple-silicon Macs by using shared memory
where appropriate

---------

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
```

## Parents

- [04d878eef8cabf320c7b860a8092f17eb2c38719](https://git.cafe/gitcafe/zed/commit/04d878eef8cabf320c7b860a8092f17eb2c38719?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ba41499bf444d0a8d37b2927b2daa83bc2e83721?format=markdown)
