Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use @_inline_meta #510

Merged
merged 1 commit into from
Feb 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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