From 477b4ff3f9df292f2112a100dc86fe61ded7d990 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 16 Oct 2026 15:15:47 +0200 Subject: [PATCH] Skip the GPUArrays sum/prod tests on Intel's CPU runtime The runtime's kernel compiler segfaults in SimplifyCFG, run from its vpo-directive-cleanup pass, while building the kernel behind `mapreduce(*, +, A, B)` on multi-dimensional arrays, which the "sum prod" testsuite checks for inference. This is the crash from #559, reported upstream as intel/llvm#23518 (and #558 as intel/llvm#23517); the reduction over two arrays broadcast together is what trips it. Which element types are affected differs between hosts (Complex{Int16} here, others on the CI runners), so the Windows CI job crashed intermittently and the test is now skipped on this runtime like the other affected GPUArrays tests. --- test/runtests.jl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 0c06dd55..e6ad1ebe 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -131,12 +131,15 @@ if args.list === nothing 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, #559), so skip the tests -# that use them. +# (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. 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/contract", "gpuarrays/reductions/== isequal", + "gpuarrays/reductions/sum prod") delete!(testsuite, "$(t.label)/$name") end end