MTLHazardTrackingMode.untracked
An option that disables automatic memory hazard tracking in Metal for a resource at runtime.
Declaration
case untrackedDiscussion
Create resources with this option when you’re managing resource synchronization. Metal doesn’t track memory dependencies for untracked resources, which means you’re responsible for ensuring that commands access those resources safely with barriers, fences, or events.
Untracked resources can improve runtime performance when you have detailed knowledge of how your app manages resource dependencies and can manually synchronize access more efficiently than with automatic tracking in Metal.
For more information about hazard tracking and synchronization trade-offs, see MTLHazardTrackingMode.