Skip to content

Commit bdaebba

Browse files
committed
Actually fall back properly
1 parent 6948125 commit bdaebba

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/blas/highlevel.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
rocblas_size(t::Char, M::ROCVecOrMat) = (size(M, t=='N' ? 1 : 2), size(M, t=='N' ? 2 : 1))
22

3+
@static if VERSION v"1.12.0-rc"
4+
# we need to use the generic wrapper to avoid dispatch to the 2x2or3x3 method
5+
using LinearAlgebra: BlasFlag, _symm_hemm_generic!
6+
end
7+
38
#
49
# BLAS 1
510
#
@@ -160,11 +165,6 @@ end
160165
#
161166

162167
@static if VERSION v"1.12.0-rc"
163-
function LinearAlgebra.generic_matmatmul_wrapper!(
164-
C::StridedROCMatrix{T}, tA::AbstractChar, tB::AbstractChar, A::StridedROCVecOrMat{T}, B::StridedROCVecOrMat{T},
165-
alpha::Number, beta::Number, val::LinearAlgebra.BlasFlag.SyrkHerkGemm) where {T<:ROCBLASFloat}
166-
LinearAlgebra.generic_matmatmul!(C, tA, tB, A, B, alpha, beta)
167-
end
168168
function LinearAlgebra._symm_hemm_generic!(
169169
C::StridedROCMatrix{T}, tA::AbstractChar, tB::AbstractChar, A::StridedROCMatrix{T}, B::StridedROCMatrix{T},
170170
alpha, beta, ::Val{BlasFlag.SYMM}) where {T}

0 commit comments

Comments
 (0)