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 wanted Contributions encouraged 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.

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 wanted Contributions encouraged type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants