Skip to content

Commit 113c47b

Browse files
committed
Fix
1 parent 7f6af69 commit 113c47b

File tree

2 files changed

+3
-93
lines changed

2 files changed

+3
-93
lines changed

ext/NNlibEnzymeExt.jl

Lines changed: 0 additions & 88 deletions
This file was deleted.

src/NNlib.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,9 @@ include("impl/depthwiseconv_im2col.jl")
123123
include("impl/pooling_direct.jl")
124124
include("deprecations.jl")
125125

126-
function __init__()
127-
@static if !isdefined(Base, :get_extension)
128-
@require Enzyme="7da242da-08ed-463a-9acd-ee780be4f1d9" begin
129-
include("../ext/NNlibEnzymeExt.jl")
130-
end
126+
@init @static if !isdefined(Base, :get_extension)
127+
@require Enzyme="7da242da-08ed-463a-9acd-ee780be4f1d9" begin
128+
include("../ext/NNlibEnzymeExt/NNlibEnzymeExt.jl")
131129
end
132130
end
133131

0 commit comments

Comments
 (0)