diff --git a/third_party/xla/xla/stream_executor/rocm/hipblaslt_wrapper.h b/third_party/xla/xla/stream_executor/rocm/hipblaslt_wrapper.h index a17998a0bc72b2..33d1bd452bbf82 100644 --- a/third_party/xla/xla/stream_executor/rocm/hipblaslt_wrapper.h +++ b/third_party/xla/xla/stream_executor/rocm/hipblaslt_wrapper.h @@ -22,7 +22,7 @@ limitations under the License. #include "rocm/rocm_config.h" #if TF_HIPBLASLT -#include "rocm/include/hipblas/hipblas.h" +#define LEGACY_HIPBLAS_DIRECT #if TF_ROCM_VERSION >= 50500 #include "rocm/include/hipblaslt/hipblaslt.h" #else