Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nfc] Cleaning up dynamic slice fusion #19313

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shraiysh
Copy link
Contributor

Offset arrays and loop iteration offset are no longer handled in xla/service/gpu/fusions/custom.cc. Removing that to simplify the code. We are working on better handling with runtime computation of offset on the host.

explicit OffsetArray(const Literal& l);
OffsetArray(const OffsetArray& other) { values = other.values; }
};

// Dynamic slice offset can be either: (1) a statically known constant value,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation is out of sync

Offset arrays and loop iteration offset are no longer
handled in `xla/service/gpu/fusions/custom.cc`. Removing that to
simplify the code. We are working on better handling with runtime
computation of offset on the host.
@shraiysh shraiysh added the kokoro:force-run Forces CI to rerun label Nov 15, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Forces CI to rerun label Nov 15, 2024
copybara-service bot pushed a commit that referenced this pull request Nov 15, 2024
Imported from GitHub PR #19313

Offset arrays and loop iteration offset are no longer handled in `xla/service/gpu/fusions/custom.cc`. Removing that to simplify the code. We are working on better handling with runtime computation of offset on the host.
Copybara import of the project:

--
3dc7d8a by Shraiysh Vaishay <[email protected]>:

[nfc] Cleaning up dynamic slice fusion

Offset arrays and loop iteration offset are no longer
handled in `xla/service/gpu/fusions/custom.cc`. Removing that to
simplify the code. We are working on better handling with runtime
computation of offset on the host.

Merging this change closes #19313

FUTURE_COPYBARA_INTEGRATE_REVIEW=#19313 from shraiysh:cleanup-dynamic-slice-fusion 3dc7d8a
PiperOrigin-RevId: 696986510
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 15, 2024
Imported from GitHub PR openxla/xla#19313

Offset arrays and loop iteration offset are no longer handled in `xla/service/gpu/fusions/custom.cc`. Removing that to simplify the code. We are working on better handling with runtime computation of offset on the host.
Copybara import of the project:

--
3dc7d8a9d274693e434040331cfe25d27566973d by Shraiysh Vaishay <[email protected]>:

[nfc] Cleaning up dynamic slice fusion

Offset arrays and loop iteration offset are no longer
handled in `xla/service/gpu/fusions/custom.cc`. Removing that to
simplify the code. We are working on better handling with runtime
computation of offset on the host.

Merging this change closes #19313

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19313 from shraiysh:cleanup-dynamic-slice-fusion 3dc7d8a9d274693e434040331cfe25d27566973d
PiperOrigin-RevId: 696986510
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants