Skip to content

Commit

Permalink
Add is_m4
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Dec 16, 2024
1 parent 01cfa11 commit d45fcb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mtl/device.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,4 @@ is_m1(dev::MTLDevice) = supports_family(dev, MTLGPUFamilyApple7) &&
is_m2(dev::MTLDevice) = supports_family(dev, MTLGPUFamilyApple8) &&
!supports_family(dev, MTLGPUFamilyApple9)
is_m3(dev::MTLDevice) = supports_family(dev, MTLGPUFamilyApple9)
is_m4(dev::MTLDevice) = supports_family(dev, MTLGPUFamilyApple9)

0 comments on commit d45fcb5

Please sign in to comment.