PR #10653: [ROCM] fixing build brake and temporarily disable delayed kernel for rocm
PR #10653: [ROCM] fixing build brake and temporarily disable delayed kernel for rocm

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

This PR fixes the ongoing build brake after https://github.com/openxla/xla/commit/28cfdcd27859e79cf10bd92779bc29f6404c79a0

and also I temporarily disable delayed kernel for ROCM since it significantly increases running times (to be investigated).

@xla-rotation: would you please have a look ?
Copybara import of the project:

--
015e67e4abe8e5a58ac017c3d2c6693d547626b7 by Pavel Emeliyanenko <pavel.emeliyanenko@amd.com>:

fixing build brake and temporarily disable delayed kernel for rocm

Merging this change closes #10653

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10653 from ROCm:ci_build_brake_fix_240318 015e67e4abe8e5a58ac017c3d2c6693d547626b7
