Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
19 changes: 7 additions & 12 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
Loading