-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding
--iree-vulkan-experimental-indirect-bindings=true
flag. (#14977
) This makes all descriptor set layouts have the new `Indirect` bit set and plumbs it all the way through to the runtime `IREE_HAL_DESCRIPTOR_SET_LAYOUT_FLAG_INDIRECT` bit. SPIR-V codegen can inspect the pipeline layout attr of exports to discover which descriptor sets are indirect and lower via `VK_KHR_buffer_device_address` and for the runtime to specially handle the indirect descriptor sets by producing device address buffers. The flag is currently experimental as interop with non-indirect dispatches (custom/produced by other higher layers like IREE input dialects/plugins) and multi-versioning (producing both direct and indirect) are TBD. It should be sufficient for users targeting specific Vulkan devices where they know the support is present, though. Note that while this is just the plumbing for the flag and the IR/runtime bits nothing is either lowering differently or setting up the appropriate runtime structures but it should allow codegen to start experimenting with alternative lowerings. Progress on #13945.
- Loading branch information
Showing
11 changed files
with
177 additions
and
52 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
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
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
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
Oops, something went wrong.