Skip to content

Commit

Permalink
Merge pull request #2481 from wsmoses/patch-1
Browse files Browse the repository at this point in the history
EnzymeExt Use inactive_noinl
  • Loading branch information
ChrisRackauckas authored Sep 29, 2024
2 parents 084b53c + 4f5ae3f commit 90ba736
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/OrdinaryDiffEqCore/ext/OrdinaryDiffEqCoreEnzymeCoreExt.jl
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module OrdinaryDiffEqCoreEnzymeCoreExt
import OrdinaryDiffEqCore, EnzymeCore

EnzymeCore.EnzymeRules.inactive(::typeof(OrdinaryDiffEqCore.increment_nf!), args...) = true
function EnzymeCore.EnzymeRules.inactive(
EnzymeCore.EnzymeRules.inactive_noinl(::typeof(OrdinaryDiffEqCore.increment_nf!), args...) = true
function EnzymeCore.EnzymeRules.inactive_noinl(
::typeof(OrdinaryDiffEqCore.fixed_t_for_floatingpoint_error!), args...)
true
end
function EnzymeCore.EnzymeRules.inactive(
function EnzymeCore.EnzymeRules.inactive_noinl(
::typeof(OrdinaryDiffEqCore.increment_accept!), args...)
true
end
function EnzymeCore.EnzymeRules.inactive(
function EnzymeCore.EnzymeRules.inactive_noinl(
::typeof(OrdinaryDiffEqCore.increment_reject!), args...)
true
end
EnzymeCore.EnzymeRules.inactive(::typeof(OrdinaryDiffEqCore.check_error!), args...) = true
EnzymeCore.EnzymeRules.inactive(::typeof(OrdinaryDiffEqCore.log_step!), args...) = true
EnzymeCore.EnzymeRules.inactive_noinl(::typeof(OrdinaryDiffEqCore.check_error!), args...) = true
EnzymeCore.EnzymeRules.inactive_noinl(::typeof(OrdinaryDiffEqCore.log_step!), args...) = true

end

0 comments on commit 90ba736

Please sign in to comment.