Skip to content

Commit b230a7e

Browse files
committed
switch SPIR-V backend from LLVM to Khronos
As discussed in JuliaGPU/OpenCL.jl#353 (comment)
1 parent 32b4fc8 commit b230a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spirv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Base.@kwdef struct SPIRVCompilerTarget <: AbstractCompilerTarget
2828
supports_fp16::Bool = true
2929
supports_fp64::Bool = true
3030

31-
backend::Symbol = isavailable(SPIRV_LLVM_Backend_jll) ? :llvm : :khronos
31+
backend::Symbol = isavailable(SPIRV_LLVM_Translator_jll) ? :khronos : :llvm
3232
# XXX: these don't really belong in the _target_ struct
3333
validate::Bool = false
3434
optimize::Bool = false

0 commit comments

Comments
 (0)