Skip to content

Commit

Permalink
Metal: Fix hash implementation of MetalCompilerTarget.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Sep 30, 2024
1 parent 316668b commit d370e19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ MetalCompilerTarget(macos::VersionNumber) =

function Base.hash(target::MetalCompilerTarget, h::UInt)
h = hash(target.macos, h)
h = hash(target.air, h)
h = hash(target.metal, h)
end

source_code(target::MetalCompilerTarget) = "text"
Expand Down

0 comments on commit d370e19

Please sign in to comment.