Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce GPU memory usage #7319

Merged
merged 2 commits into from
Feb 3, 2024
Merged

Reduce GPU memory usage #7319

merged 2 commits into from
Feb 3, 2024

Conversation

as-cii
Copy link
Member

@as-cii as-cii commented Feb 3, 2024

This pull request decreases the size of each instance buffer and shares instance buffers across windows.

Release Notes:

  • Improved GPU memory usage.

as-cii and others added 2 commits February 3, 2024 05:17
We tested this in Zed and it's consistently under 600kb.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 3, 2024
@as-cii as-cii merged commit c906fd2 into main Feb 3, 2024
6 checks passed
@as-cii as-cii deleted the reduce-instance-buffer-size branch February 3, 2024 12:27
as-cii added a commit that referenced this pull request Feb 5, 2024
This pull request decreases the size of each instance buffer and shares
instance buffers across windows.

Release Notes:

- Improved GPU memory usage.

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
# Conflicts:
#	crates/gpui/src/platform/mac/window.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant