Skip to content

Commit

Permalink
Improve logs and use workaround for runtime activity
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Aug 21, 2023
1 parent 5fb9422 commit 6da01ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/ad/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ const FDM = FiniteDifferences

# Load AD backends
if GROUP == "All" || GROUP == "Enzyme"
@eval using Enzyme
@eval begin
using Enzyme
# Disable Enzyme warnings
Enzyme.API.typeWarning!(false)
# Enable runtime activity (workaround)
Enzyme.API.runtimeActivity!(true)
end
end
if GROUP == "All" || GROUP == "ForwardDiff"
@eval using ForwardDiff
Expand Down

0 comments on commit 6da01ea

Please sign in to comment.