From 6da01ea430e0216d46911d98d9ce6ed9c4da947e Mon Sep 17 00:00:00 2001 From: David Widmann Date: Mon, 21 Aug 2023 23:39:42 +0200 Subject: [PATCH] Improve logs and use workaround for runtime activity --- test/ad/utils.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/ad/utils.jl b/test/ad/utils.jl index 10ad346..cb5d0ba 100644 --- a/test/ad/utils.jl +++ b/test/ad/utils.jl @@ -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