Skip to content

Commit

Permalink
Merge pull request #635 from ArnoStrouwen/EnzymeOriginator
Browse files Browse the repository at this point in the history
EnzymeOriginator
  • Loading branch information
ChrisRackauckas authored Feb 26, 2024
2 parents cd65806 + f41c3f1 commit d45b79a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/SciMLBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,13 @@ struct ChainRulesOriginator <: ADOriginator end
"""
$(TYPEDEF)
Internal. Used for signifying the AD context comes from an Enzyme.jl definition.
"""
struct EnzymeOriginator <: ADOriginator end

"""
$(TYPEDEF)
Internal. Used for signifying the AD context comes from a ReverseDiff.jl context.
"""
struct ReverseDiffOriginator <: ADOriginator end
Expand Down

0 comments on commit d45b79a

Please sign in to comment.