-
Notifications
You must be signed in to change notification settings - Fork 37
Improve FastLDF type stability when all parameters are linked or unlinked #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
60736ba
d953f7b
d7da26d
d05c185
6c5d795
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,11 +5,15 @@ using Test: @test, @testset | |
| import Enzyme: set_runtime_activity, Forward, Reverse, Const | ||
| using ForwardDiff: ForwardDiff # run_ad uses FD for correctness test | ||
|
|
||
| ADTYPES = Dict( | ||
| "EnzymeForward" => | ||
| ADTYPES = ( | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Entirely ambivalent about which constructor to use, but curious if you had a reason for changing.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, CI crashes with a Julia GC error when using a Dict.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (don't ask 🙃)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... |
||
| ( | ||
| "EnzymeForward", | ||
| AutoEnzyme(; mode=set_runtime_activity(Forward), function_annotation=Const), | ||
| "EnzymeReverse" => | ||
| ), | ||
| ( | ||
| "EnzymeReverse", | ||
| AutoEnzyme(; mode=set_runtime_activity(Reverse), function_annotation=Const), | ||
| ), | ||
| ) | ||
|
|
||
| @testset "$ad_key" for (ad_key, ad_type) in ADTYPES | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.