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 authored and wsmoses committed Aug 4, 2024
1 parent 3697135 commit 6f73850
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 6f73850

Please sign in to comment.