File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ See also [`Metal.air_support`](@ref) and [`Metal.metal_support`](@ref).
2020"""
2121function metallib_support ()
2222 macos = macos_version ()
23- if macos >= v " 15"
24- v " 1.2.8"
23+ if macos >= v " 16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
24+ v " 1.2.9"
25+ elseif macos >= v " 15"
26+ v " 1.2.8"
2527 elseif macos >= v " 13"
2628 v " 1.2.7"
2729 elseif macos >= v " 12"
@@ -48,7 +50,9 @@ See also [`Metal.metallib_support`](@ref) and [`Metal.metal_support`](@ref).
4850"""
4951function air_support ()
5052 macos = macos_version ()
51- if macos >= v " 15"
53+ if macos >= v " 16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
54+ v " 2.8"
55+ elseif macos >= v " 15"
5256 v " 2.7"
5357 elseif macos >= v " 14"
5458 v " 2.6"
@@ -78,7 +82,9 @@ See also [`Metal.metallib_support`](@ref) and [`Metal.air_support`](@ref).
7882"""
7983function metal_support ()
8084 macos = macos_version ()
81- if macos >= v " 15"
85+ if macos >= v " 16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
86+ v " 4"
87+ elseif macos >= v " 15"
8288 v " 3.2"
8389 elseif macos >= v " 14"
8490 v " 3.1"
You can’t perform that action at this time.
0 commit comments