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

[xla:emitters] tag XLA, XLA:CPU and XLA:GPU dialects as non-prod-compatible #22192

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

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 1, 2025

[xla:emitters] tag XLA, XLA:CPU and XLA:GPU dialects as non-prod-compatible

This paves the way for XLA:CPU fusion emitters.

Note that XLA:CPU is non-prod-compatible, whereas XLA:GPU is
not. The CPU fusion emitters will depend on the XLA, XLA:CPU
and XLA:GPU dialects, and given that the emitters' dependents
in XLA:CPU are non-prod-compatible, the three dialects have
to be as well.

XLA:CPU passes also have to be tagged. Crucially, thanks to
the parent CLs, XLA:GPU passes are not used anymore by any of
the above dialects nor by XLA:CPU passes, so XLA:GPU remains
essentially untouched; we just tag the XLA:GPU dialect.

Some common libraries in xla/codegen/emitters are also tagged.

…atible

This paves the way for XLA:CPU fusion emitters.

Note that XLA:CPU is non-prod-compatible, whereas XLA:GPU is
not. The CPU fusion emitters will depend on the XLA, XLA:CPU
and XLA:GPU dialects, and given that the emitters' dependents
in XLA:CPU are non-prod-compatible, the three dialects have
to be as well.

XLA:CPU passes also have to be tagged. Crucially, thanks to
the parent CLs, XLA:GPU passes are not used anymore by any of
the above dialects nor by XLA:CPU passes, so XLA:GPU remains
essentially untouched; we just tag the XLA:GPU dialect.

Some common libraries in xla/codegen/emitters are also tagged.

PiperOrigin-RevId: 721954339
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.

1 participant