Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 1, 2024
1 parent c0ebbdd commit 348303f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/rules/customrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -923,15 +923,10 @@ function enzyme_custom_common_rev(
@assert ami !== nothing
target = DefaultCompilerTarget()
params = PrimalCompilerParams(mode)
aug_RT = something(
Core.Compiler.typeinf_type(
GPUCompiler.get_interpreter(
CompilerJob(ami, CompilerConfig(target, params; kernel = false), world),
),
ami,
),
Any,
interp = GPUCompiler.get_interpreter(
CompilerJob(ami, CompilerConfig(target, params; kernel = false), world),
)
aug_RT = return_type(interp, ami)
if kwtup !== nothing && kwtup <: Duplicated
@safe_debug "Non-constant keyword argument found for " augprimal_TT
emit_error(
Expand Down

0 comments on commit 348303f

Please sign in to comment.