Skip to content

Commit

Permalink
Speed up activity results no that in noworldage regieme (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Nov 30, 2024
1 parent 22818bf commit 2a24bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/activity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ Try to guess the most appropriate [`Annotation`](@ref) for arguments of type `T`
guess_activity(T, convert(API.CDerivativeMode, mode))

@inline function Enzyme.guess_activity(::Type{T}, Mode::API.CDerivativeMode) where {T}
ActReg = active_reg_inner(T, (), nothing)
ActReg = active_reg_nothrow(T, Val(nothing))
if ActReg == AnyState
return Const{T}
end
Expand Down

0 comments on commit 2a24bb5

Please sign in to comment.