Skip to content

Commit ade22bb

Browse files
committed
More fix
1 parent 075acf1 commit ade22bb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/BNNS/BNNS.jl

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
module BNNS
21
using BFloat16s
32

43
include("libBNNS.jl")
@@ -41,5 +40,3 @@ function randn end
4140
function rand! end
4241
function randn! end
4342
function seed! end
44-
45-
end

src/AppleAccelerate.jl

+5
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ end
9595
include("Util.jl")
9696
include("Array.jl")
9797
include("DSP.jl")
98+
end
99+
100+
module BNNS
101+
@static if Sys.isapple()
98102
include("../lib/BNNS/BNNS.jl")
99103
end
104+
end # module BNNS
100105

101106
end # module

0 commit comments

Comments
 (0)