Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 15, 2024
1 parent 5a43ae8 commit 8a0bfb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions src/Reactant.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,4 @@ function set_default_backend(backend::String)
return set_default_backend(XLA.backends[backend])
end

# include("../ext/ReactantCUDAExt.jl")

end # module

3 changes: 1 addition & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ function call_with_reactant_generator(
push!(overdubbed_codelocs, code_info.codelocs[1])
Core.SSAValue(length(overdubbed_code))
end
end

push!(overdubbed_code, Expr(:(call), oc, fn_args[2:end]...))

Expand All @@ -611,7 +610,7 @@ function call_with_reactant_generator(
return code_info
end

@eval function call_with_reactant(redub_arguments...)
@eval function call_with_reactant($REDUB_ARGUMENTS_NAME...)
$(Expr(:meta, :generated_only))
return $(Expr(:meta, :generated, call_with_reactant_generator))
end

0 comments on commit 8a0bfb0

Please sign in to comment.