Skip to content

Commit

Permalink
reduce the compiled file size. (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiggleLiu committed Jul 10, 2023
1 parent 71c1e01 commit 5ed2f0a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/TropicalGEMM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ PrecompileTools.@setup_workload begin
PrecompileTools.@compile_workload begin
for T in (Float32, Float64, Int64)
A = Tropical.(rand(T, 10, 10))
TA = transpose(A)
for x in [A, TA]
for y in [A, TA]
x * y
end
end
O = Tropical.(rand(T, 10, 10))
LinearAlgebra.mul!(O, A, A)
end
end
end
Expand Down

0 comments on commit 5ed2f0a

Please sign in to comment.