From b230a7ef76c576334ba2106600be00a3674a402a Mon Sep 17 00:00:00 2001 From: Simeon David Schaub Date: Tue, 12 Aug 2025 10:46:04 +0200 Subject: [PATCH] switch SPIR-V backend from LLVM to Khronos As discussed in https://github.com/JuliaGPU/OpenCL.jl/issues/353#issuecomment-3168143958 --- src/spirv.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spirv.jl b/src/spirv.jl index 2afd4f60..060a6b61 100644 --- a/src/spirv.jl +++ b/src/spirv.jl @@ -28,7 +28,7 @@ Base.@kwdef struct SPIRVCompilerTarget <: AbstractCompilerTarget supports_fp16::Bool = true supports_fp64::Bool = true - backend::Symbol = isavailable(SPIRV_LLVM_Backend_jll) ? :llvm : :khronos + backend::Symbol = isavailable(SPIRV_LLVM_Translator_jll) ? :khronos : :llvm # XXX: these don't really belong in the _target_ struct validate::Bool = false optimize::Bool = false