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:

--
23d442f83c731cd86131bcd1d91c4e3d7cc42468 by Zoran Jovanovic <zjovanov@amd.com>:

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

Merging this change closes #10649

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10649 from ROCm:rocm_triton_backend_3 23d442f83c731cd86131bcd1d91c4e3d7cc42468
