Skip to content

Commit 4103739

Browse files
authored
Upgrade and switch to the non-unified SPIRV LLVM Translator. (#308)
1 parent 84021a2 commit 4103739

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1414
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1515
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1616
SPIRVIntrinsics = "71d1d633-e7e8-4a92-83a1-de8814b09ba8"
17-
SPIRV_LLVM_Translator_unified_jll = "85f0d8ed-5b39-5caa-b1ae-7472de402361"
17+
SPIRV_LLVM_Translator_jll = "4a5d46fc-d8cf-5151-a261-86b458210efb"
1818
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1919

2020
[compat]
@@ -26,9 +26,9 @@ LLVM = "9.1"
2626
LinearAlgebra = "1"
2727
OpenCL_jll = "=2024.10.24"
2828
Printf = "1"
29+
Random = "1"
2930
Reexport = "1"
3031
SPIRVIntrinsics = "0.2"
31-
SPIRV_LLVM_Translator_unified_jll = "0.7"
32+
SPIRV_LLVM_Translator_jll = "20"
3233
StaticArrays = "1"
3334
julia = "1.10"
34-
Random = "1"

src/OpenCL.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module OpenCL
22

33
using GPUCompiler
44
using LLVM, LLVM.Interop
5-
using SPIRV_LLVM_Translator_unified_jll
5+
using SPIRV_LLVM_Translator_jll
66
using Adapt
77
using Reexport
88
using GPUArrays

src/util.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ function versioninfo(io::IO=stdout)
3838

3939
println(io, "Toolchain:")
4040
println(io, " - Julia v$(VERSION)")
41-
for pkg in [cl.OpenCL_jll]
42-
println(io, " - $(string(pkg)) v$(pkgversion(pkg))")
41+
for jll in [cl.OpenCL_jll, SPIRV_LLVM_Translator_jll]
42+
name = string(jll)
43+
println(io, " - $(name[1:end-4]): $(pkgversion(jll))")
4344
end
4445
println(io)
4546

0 commit comments

Comments
 (0)