diff --git a/Project.toml b/Project.toml index c1ee4538..7109edf5 100644 --- a/Project.toml +++ b/Project.toml @@ -53,4 +53,4 @@ SPIRV_LLVM_Backend_jll = "23" SPIRV_Tools_jll = "2025.1" UnsafeAtomics = "0.4" julia = "1.10" -spirv2clc_jll = "0.2.7" +spirv2clc_jll = "0.2.8" diff --git a/test/runtests.jl b/test/runtests.jl index c3006676..7a4a91da 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -148,17 +148,14 @@ if args.list === nothing end end -# Intel's CPU runtime crashes the process while compiling some of the GPUArrays kernels -# (a segfault in the LLVM optimizer of its kernel compiler; #558 = intel/llvm#23517, -# #559 = intel/llvm#23518), so skip the tests that use them. "sum prod" hits the #559 crash -# through `mapreduce(*, +, A, B)` on multi-dimensional arrays; which element types trigger -# it differs between hosts. +# Only run OpenCL.jl's own tests on Intel's CPU runtime. Its kernel compiler segfaults on +# some of the GPUArrays and AcceleratedKernels kernels (#558 = intel/llvm#23517, #559 = +# intel/llvm#23518). Which kernels crash differs between hosts, and every release of those +# packages can reach the same bugs from other tests. for t in targets t.platform == "Intel(R) OpenCL" || continue - for name in ("gpuarrays/accumulate", "gpuarrays/linalg/core", "gpuarrays/reductions/base", - "gpuarrays/reductions/contract", "gpuarrays/reductions/== isequal", - "gpuarrays/reductions/sum prod") - delete!(testsuite, "$(t.label)/$name") + for name in collect(keys(testsuite)) + startswith(name, "$(t.label)/gpuarrays/") && delete!(testsuite, name) end end @@ -169,9 +166,7 @@ end if !Base.BinaryPlatforms.CPUID.test_cpu_feature(Base.BinaryPlatforms.CPUID.JL_X86_avx512f) for t in targets t.platform == "Intel(R) OpenCL" || continue - for name in ("device/random", "gpuarrays/random") - delete!(testsuite, "$(t.label)/$name") - end + delete!(testsuite, "$(t.label)/device/random") end end