-
Notifications
You must be signed in to change notification settings - Fork 74.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #20794: [gpu][ds-fusion] Add handling for offset module in ds-fusi…
…on thunk Imported from GitHub PR openxla/xla#20794 This patch adds support for offset modules in ds fusion thunk. It also moves the `ResourceRequests` structure from `gpu_executable.cc` to `gpu_executable.h` because a valid implementation of the abstract class `Thunk::ResourceRequests` is required for calling `Thunk::Prepare()`. This is split from #20332 as per request. Copybara import of the project: -- 53226e9428dff816819c192735b9569ef3d309ea by Shraiysh Vaishay <[email protected]>: [gpu][ds-fusion] Add handling for offset module in ds-fusion thunk This patch adds support for offset modules in ds fusion thunk. It also moves the `ResourceRequests` structure from `gpu_executable.cc` to `gpu_executable.h` because a valid implementation of the abstract class `Thunk::ResourceRequests` is required for calling `Thunk::Prepare()`. -- e554ac6b09b5023082210c5100a1f1a86c1c6605 by Shraiysh Vaishay <[email protected]>: Address comments and rebase -- 4ac8efa0c9885b0f21f526072f821ace40be4043 by Shraiysh Vaishay <[email protected]>: Address comments -- 8c23e2a4e2ff66fb7361c48c9d988ebb2261bc41 by Shraiysh Vaishay <[email protected]>: Addressed comments. -- efbe6bfa6f10f1ee998683161e398ae3adc0f183 by Shraiysh Vaishay <[email protected]>: Addressed comments Merging this change closes #20794 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#20794 from shraiysh:ds_fusion_thunk_changes efbe6bfa6f10f1ee998683161e398ae3adc0f183 PiperOrigin-RevId: 718748248
- Loading branch information
1 parent
411b653
commit ec6cec9
Showing
4 changed files
with
352 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
Oops, something went wrong.