forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding stream lowering to hal.device.queue.fill/hal.device.queue.copy. (
iree-org#19033) Stream execution regions that contain only a single transfer operation are now converted to queue operations. This avoids the additional command buffer overhead for individual operations that don't benefit from batching. At runtime these route to the HAL device queue methods which implementations can use to optimize standalone transfer requests (e.g. mapping to `cuMemcpyAsync`). There's currently no `hal.device.queue.update` equivalent in the stream dialect but that will be added as part of the dynamic uniform values for reusable command buffers workstream.
- Loading branch information
Showing
3 changed files
with
190 additions
and
15 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