Skip to content

Commit 59da36a

Browse files
committed
Set SPIR-V manually to 1.2
1 parent 6341a45 commit 59da36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pocl/compiler/compilation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ end
4949
supports_fp64 = "cl_khr_fp64" in dev.extensions
5050

5151
# create GPUCompiler objects
52-
target = SPIRVCompilerTarget(; supports_fp16, supports_fp64, kwargs...)
52+
target = SPIRVCompilerTarget(; supports_fp16, supports_fp64, version = v"1.2", kwargs...)
5353
params = OpenCLCompilerParams()
5454
return CompilerConfig(target, params; kernel, name, always_inline)
5555
end

0 commit comments

Comments
 (0)