Skip to content

Commit

Permalink
test: enzyme only on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 20, 2024
1 parent d586e10 commit d9b0e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LuxTestUtils/src/LuxTestUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ try
using Enzyme: Enzyme
__ftest(x) = x
Enzyme.autodiff(Enzyme.Reverse, __ftest, Enzyme.Active, Enzyme.Active(2.0))
global ENZYME_TESTING_ENABLED = true
global ENZYME_TESTING_ENABLED = Sys.islinux()
catch err
global ENZYME_TESTING_ENABLED = false
end
Expand Down

0 comments on commit d9b0e9d

Please sign in to comment.