Skip to content

Commit d370e19

Browse files
committed
Metal: Fix hash implementation of MetalCompilerTarget.
1 parent 316668b commit d370e19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/metal.jl

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ MetalCompilerTarget(macos::VersionNumber) =
1717

1818
function Base.hash(target::MetalCompilerTarget, h::UInt)
1919
h = hash(target.macos, h)
20+
h = hash(target.air, h)
21+
h = hash(target.metal, h)
2022
end
2123

2224
source_code(target::MetalCompilerTarget) = "text"

0 commit comments

Comments
 (0)