Skip to content

Commit

Permalink
Fix for hash calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
michel2323 authored and wsmoses committed Jan 24, 2024
1 parent b41cd7c commit 8beef7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ import .Compiler: fspec, remove_innerty, UnknownTapeType
job = Compiler.CompilerJob(mi, Compiler.CompilerConfig(target, params; kernel=false))


key = hash((job, parent_job))
key = hash(parent_job, hash(job))

# NOTE: no use of lock(::Function)/@lock/get! to keep stack traces clean
lock(tape_cache_lock)
Expand Down

0 comments on commit 8beef7a

Please sign in to comment.