Skip to content

Commit

Permalink
Merge pull request #54 from ranocha/hr/SnoopPrecompile
Browse files Browse the repository at this point in the history
change to SnoopPrecompile
  • Loading branch information
YingboMa authored Aug 29, 2022
2 parents ae6debe + 7b4b9ad commit 1b6d3e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ version = "0.2.11"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
StrideArraysCore = "7792a7ef-975c-4747-a70f-980b88e8d1da"
TriangularSolve = "d5829a12-d9aa-46ab-831f-fb7c9ab06edf"

[compat]
LoopVectorization = "0.10,0.11, 0.12"
Polyester = "0.3.2,0.4.1, 0.5, 0.6"
SnoopPrecompile = "1"
StrideArraysCore = "0.1.13, 0.2.1, 0.3"
TriangularSolve = "0.1.1"
julia = "1.5"
Expand Down
9 changes: 3 additions & 6 deletions src/RecursiveFactorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ module RecursiveFactorization

include("./lu.jl")

let
while true
lu!(rand(2, 2))
break
end
end
import SnoopPrecompile

SnoopPrecompile.@precompile_all_calls begin lu!(rand(2, 2)) end

end # module

0 comments on commit 1b6d3e7

Please sign in to comment.