From 64f169365d12325fb97be57bc8805a1c9cc13bac Mon Sep 17 00:00:00 2001 From: Karthick Raj Murugan Date: Thu, 3 Sep 2026 12:49:03 -0500 Subject: [PATCH] Revert default backend to tensile for f32 and f64 --- projects/rocblas/library/src/tensile_host.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/projects/rocblas/library/src/tensile_host.cpp b/projects/rocblas/library/src/tensile_host.cpp index 03f65802daac..60168f286a17 100644 --- a/projects/rocblas/library/src/tensile_host.cpp +++ b/projects/rocblas/library/src/tensile_host.cpp @@ -1266,17 +1266,14 @@ template bool useHipBLASLt(const RocblasContractionProblem& prob) { #ifdef BUILD_WITH_HIPBLASLT - if constexpr(sizeof(Ti) >= 4) + if constexpr(sizeof(Ti) != 2) { if(!prob.handle->isHipBLASLtForcedOn()) { - // gfx950: hipBLASLt is used for all types except complex. - // TODO remove after complex support is enabled - if constexpr(rocblas_is_complex) - { - if(rocblas_internal_get_arch(prob.handle) == 950) - return false; // complex won't default to hipBLASLt - } + // gfx950: hipBLASLt is used only for fp16/bf16 + // TODO remove after all types are supported + if(rocblas_internal_get_arch(prob.handle) == 950) + return false; } }