Skip to content

Commit

Permalink
Don't use @_inline_meta
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Feb 2, 2022
1 parent 332ac49 commit b7a488c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/bench_gemm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ _size(x, i) = size(axes(x)[i], 1)
@argcheck _size(C) === (_size(A, 1), _size(B, 2))
@argcheck _size(A, 2) === _size(B, 1)
@argcheck !any(Base.has_offset_axes, (A, B, C))
return AdHocFoldable() do rf, acc, _
Base.@_inline_meta
@inline function fold(rf, acc, _)
for j in 1:size(C, 2), k in 1:size(A, 2)
b = @inbounds B[k, j]
@simd_if rf for i in 1:size(A, 1)
Expand All @@ -26,6 +25,7 @@ _size(x, i) = size(axes(x)[i], 1)
end
return complete(rf, acc)
end
return AdHocFoldable(fold)
end

function xfmul!(C, A, B, simd=Val(false))
Expand Down

0 comments on commit b7a488c

Please sign in to comment.