forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding split iree_hal_buffer_prepare_map_range/commit_map_range. (ire…
…e-org#18159) This allows for the validation/offsetting/etc that acts only on metadata to occur separate from the actual commit of the mapping where the host storage is accessed. Code that wants to validate early (such as during command buffer recording) can now do so on uncommitted buffers and have a fast-path for when the underlying storage is available. This will be used for native implementations of reusable command buffers by allowing them to validate direct and indirect bindings during recording even if the bindings are of uncommitted buffers (iree-org#18158) that won't be available until execution-time.
- Loading branch information
Showing
2 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters