Skip to content

Commit

Permalink
fixup! tell the serializer to not cache code instances originating fr…
Browse files Browse the repository at this point in the history
…om Enzyme
  • Loading branch information
vchuravy committed Jun 24, 2024
1 parent 70e3ffd commit 4d28d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/interpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ else
Core.Compiler.code_cache(interp::EnzymeInterpreter) = WorldView(interp.code_cache, interp.world)
end

const CC = Core.Compiler
@static if HAS_INTEGRATED_CACHE
function CC.CodeInstance(interp::EnzymeInterpreter, result::CC.InferenceResult,
valid_worlds::CC.WorldRange)
Expand Down

0 comments on commit 4d28d45

Please sign in to comment.