@@ -74,7 +74,7 @@ function matmul_st_pack_A_and_B!(
7474 nothing
7575end
7676
77- @inline contiguousstride1 (A) = ArrayInterface. contiguous_axis (A) === ArrayInterface . Contiguous {1} ()
77+ @inline contiguousstride1 (A) = ArrayInterface. contiguous_axis (A) === One ()
7878@inline contiguousstride1 (A:: AbstractStridedPointer{T,N,1} ) where {T,N} = true
7979# @inline bytestride(A::AbstractArray, i) = VectorizationBase.bytestrides(A)[i]
8080@inline bytestride (A:: AbstractStridedPointer , i) = strides (A)[i]
@@ -125,11 +125,11 @@ end
125125@inline function matmul_serial! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β)
126126 matmul_serial! (C, A, B, α, β, nothing , ArrayInterface. contiguous_axis (C))
127127end
128- @inline function matmul_serial! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, MKN, :: ArrayInterface.Contiguous {2} )
128+ @inline function matmul_serial! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, MKN, :: StaticInt {2} )
129129 _matmul_serial! (C' , B' , A' , α, β, nothing )
130130 return C
131131end
132- @inline function matmul_serial! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, MKN, :: ArrayInterface.Contiguous )
132+ @inline function matmul_serial! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, MKN, :: StaticInt )
133133 _matmul_serial! (C, A, B, α, β, nothing )
134134 return C
135135end
@@ -210,11 +210,11 @@ end
210210@inline function matmul! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, nthread)
211211 matmul! (C, A, B, α, β, nthread, nothing , ArrayInterface. contiguous_axis (C))
212212end
213- @inline function matmul! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, nthread, MKN, :: ArrayInterface.Contiguous {2} )
213+ @inline function matmul! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, nthread, MKN, :: StaticInt {2} )
214214 _matmul! (C' , B' , A' , α, β, nthread, MKN)
215215 return C
216216end
217- @inline function matmul! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, nthread, MKN, :: ArrayInterface.Contiguous )
217+ @inline function matmul! (C:: AbstractMatrix , A:: AbstractMatrix , B:: AbstractMatrix , α, β, nthread, MKN, :: StaticInt )
218218 _matmul! (C, A, B, α, β, nthread, MKN)
219219 return C
220220end
0 commit comments