Skip to content

Commit

Permalink
Merge pull request JuliaLang#14703 from JuliaLang/sjk/dont-tile-gener…
Browse files Browse the repository at this point in the history
…ic-At_mul_B!

Use naïve algorithm for generic A[tc]_mul_B!
  • Loading branch information
andreasnoack committed Jan 19, 2016
2 parents a604e19 + 1d10910 commit ebdfb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/linalg/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ function _generic_matmatmul!{T,S,R}(C::AbstractVecOrMat{R}, tA, tB, A::AbstractV
end

tile_size = 0
if isbits(R) && isbits(T) && isbits(S)
if isbits(R) && isbits(T) && isbits(S) && (tA == 'N' || tB != 'N')
tile_size = floor(Int,sqrt(tilebufsize/max(sizeof(R),sizeof(S),sizeof(T))))
end
@inbounds begin
Expand Down

0 comments on commit ebdfb5e

Please sign in to comment.