Skip to content

Commit

Permalink
Remove test for JuliaLang#14722 (type instability in generic matmul)
Browse files Browse the repository at this point in the history
This test apparently breaks with inlining disabled.
  • Loading branch information
simonster authored and mfasi committed Sep 5, 2016
1 parent 3b3bdb6 commit 6f50dd2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/linalg/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -388,15 +388,3 @@ let
@test_throws DimensionMismatch A_mul_B!(full43, full43, tri44)
end
end

# Ensure that matrix multiplication with a narrower output type than input type does not
# produce allocation in the inner loop (#14722), by ensuring allocation does not change
# with the size of the input.
C1 = Array(Float32, 5, 5)
A1 = rand(Float64, 5, 5)
B1 = rand(Float64, 5, 5)
C2 = Array(Float32, 6, 6)
A2 = rand(Float64, 6, 6)
B2 = rand(Float64, 6, 6)
A_mul_B!(C1, A1, B1)
@test @allocated(A_mul_B!(C1, A1, B1)) == @allocated(A_mul_B!(C2, A2, B2))

0 comments on commit 6f50dd2

Please sign in to comment.