PR #10649: [ROCm] Triton in XLA for ROCm - ir_emitter_triton related changes.
PR #10649: [ROCm] Triton in XLA for ROCm - ir_emitter_triton related changes.

Imported from GitHub PR https://github.com/openxla/xla/pull/10649

Second commit of the series for enabling Triton in XLA for ROCm.

Copybara import of the project:

--
02a1077a50386462f22f97d3db7903037164d92f by Zoran Jovanovic <zjovanov@amd.com>:

[ROCm] Triton in XLA for ROCm - ir_emitter_triton related changes.


Merging this change closes #10649

Reverts changelist 506335783

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10649 from ROCm:rocm_triton_backend_3 02a1077a50386462f22f97d3db7903037164d92f
