Skip to content

Commit

Permalink
Migrate from SnoopPrecompile to PrecompileTools (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Apr 25, 2023
1 parent 9faf95f commit 863e12f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ authors = ["Erik Schnetter <schnetter@gmail.com>", "Kristoffer Carlsson <kristof
version = "3.4.4"

[deps]
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"

[compat]
SnoopPrecompile = "1"
PrecompileTools = "1"
julia = "1.6"

[extras]
Expand Down
4 changes: 2 additions & 2 deletions src/precompile.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using SnoopPrecompile
using PrecompileTools

@precompile_all_calls begin
@compile_workload begin
for dim in (2, 3, 4)
v = SIMD.Vec(ntuple(i -> 0.0, dim))
v + v
Expand Down

0 comments on commit 863e12f

Please sign in to comment.