From 9a1d79bee18a259181c09c01658f991d6d525754 Mon Sep 17 00:00:00 2001 From: Billy Moses Date: Fri, 6 Dec 2024 22:47:28 -0600 Subject: [PATCH] nothing works rip --- src/compiler/interpreter.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compiler/interpreter.jl b/src/compiler/interpreter.jl index 855831316e..99275b51c4 100644 --- a/src/compiler/interpreter.jl +++ b/src/compiler/interpreter.jl @@ -71,20 +71,20 @@ function rule_backedge_holder_generator(world::UInt, source, self, ft::Type) if ft == typeof(EnzymeRules.augmented_primal) # this is illegal - # sig = Tuple{typeof(EnzymeRules.augmented_primal), <:RevConfig, <:Annotation, Type{<:Annotation},Vararg{<:Annotation}} + # sig = Tuple{typeof(EnzymeRules.augmented_primal), <:RevConfig, <:Annotation, Type{<:Annotation},Vararg{Annotation}} # push!(edges, (ccall(:jl_method_table_for, Any, (Any,), sig), sig)) push!(edges, Enzyme.my_methodinstance(typeof(EnzymeRules.augmented_primal), Tuple{<:RevConfig, <:Annotation, Type{<:Annotation},Vararg{Annotation}}, world)) elseif ft == typeof(EnzymeRules.forward) # this is illegal - # sig = Tuple{typeof(EnzymeRules.forward), <:FwdConfig, <:Annotation, Type{<:Annotation},Vararg{<:Annotation}} + # sig = Tuple{typeof(EnzymeRules.forward), <:FwdConfig, <:Annotation, Type{<:Annotation},Vararg{Annotation}} # push!(edges, (ccall(:jl_method_table_for, Any, (Any,), sig), sig)) push!(edges, Enzyme.my_methodinstance(typeof(EnzymeRules.forward), Tuple{<:FwdConfig, <:Annotation, Type{<:Annotation},Vararg{Annotation}}, world)) else - # sig = Tuple{typeof(EnzymeRules.inactive), Vararg{<:Annotation}} + # sig = Tuple{typeof(EnzymeRules.inactive), Vararg{Annotation}} # push!(edges, (ccall(:jl_method_table_for, Any, (Any,), sig), sig)) push!(edges, Enzyme.my_methodinstance(typeof(EnzymeRules.inactive), Tuple{Vararg{Annotation}}, world)) - # sig = Tuple{typeof(EnzymeRules.inactive_noinl), Vararg{<:Annotation}} + # sig = Tuple{typeof(EnzymeRules.inactive_noinl), Vararg{Annotation}} # push!(edges, (ccall(:jl_method_table_for, Any, (Any,), sig), sig)) push!(edges, Enzyme.my_methodinstance(typeof(EnzymeRules.inactive_noinl), Tuple{Vararg{Annotation}}, world))