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

Use MTLHazardTrackingMode.untracked for Resources #3110

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

Use MTLHazardTrackingMode.untracked for Resources #3110

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

Comments

@cwfitzgerald
Copy link
Member

cwfitzgerald commented Oct 15, 2022

Currently we rely on the metal runtime to track and generate all the barriers for our code. This is wasteful as we already have all the barrier information available to the hal. We should set MTLHazardTrackingMode.untracked on all textures/buffers then call the various barrier functions to prevent races.

Related to #3109 due to default heap behavior.

@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 api: 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
api: metal Issues with Metal area: performance How fast things go 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