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

Suballocate Buffers on Metal #3109

Open
cwfitzgerald opened this issue Oct 15, 2022 · 0 comments
Open

Suballocate Buffers on Metal #3109

cwfitzgerald opened this issue Oct 15, 2022 · 0 comments
Labels
area: performance How fast things go backend: metal Issues with Metal help required We need community help to make this happen. type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

Similar to #2720, we should consider using gpu-alloc to sub-allocate MTLHeaps instead of just creating raw buffers every time. Unlike DX12 though this isn't as obvious of a perf win because metal has a "automatic memory management" lens to it to some APIs, so the change should be benchmarked. It would also be good to consult metal literature to see if MTLHeap is a performance thing or not.

@cwfitzgerald cwfitzgerald added type: enhancement New feature or request help required We need community help to make this happen. area: performance How fast things go backend: metal Issues with Metal labels Oct 15, 2022
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: performance How fast things go backend: metal Issues with Metal help required We need community help to make this happen. type: enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants