Skip to content

Commit dcc448d

Browse files
authored
No precomp (#181)
* Disable precompilation * Bump version
1 parent c63b5b9 commit dcc448d

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Octavian"
22
uuid = "6fd5a793-0b7e-452c-907f-f8bfe9c57db4"
33
authors = ["Chris Elrod", "Dilum Aluthge", "Mason Protter", "contributors"]
4-
version = "0.3.24"
4+
version = "0.3.25"
55

66
[deps]
77
CPUSummary = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9"

src/Octavian.jl

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,5 @@ if !isdefined(Base, :get_extension)
7575
include("../ext/HyperDualNumbersExt.jl")
7676
end
7777

78-
@static if VERSION >= v"1.8.0-beta1"
79-
@setup_workload begin
80-
# Putting some things in `setup` can reduce the size of the
81-
# precompile file and potentially make loading faster.
82-
__init__()
83-
A64 = rand(100, 100)
84-
A32 = rand(Float32, 100, 100)
85-
86-
@compile_workload begin
87-
# All calls in this block will be precompiled, regardless of whether
88-
# they belong to Octavian.jl or not (on Julia 1.8 and higher).
89-
matmul(A64, A64)
90-
matmul(A64', A64)
91-
matmul(A64, A64')
92-
matmul(A64', A64')
93-
94-
matmul(A32, A32)
95-
matmul(A32', A32)
96-
matmul(A32, A32')
97-
matmul(A32', A32')
98-
end
99-
end
100-
end
10178

10279
end # module Octavian

0 commit comments

Comments
 (0)