[Openmp-commits] [llvm] [openmp] [OpenMP][offload] Fix single-thread SPMD cross-team reductions (PR #231843)

LLVM Continuous Integration via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 14 06:47:59 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `intel-sycl-gpu` running on `intel-sycl-gpu-01` while building `llvm,offload,openmp` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/225/builds/21824

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'libomptarget :: spirv64-intel :: offloading/xteam_reduction_no_parallel.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./bin/clang -fopenmp    -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include/cuda -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include/hip -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/kernel/include -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src  -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib  -fopenmp-targets=spirv64-intel /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/Output/xteam_reduction_no_parallel.c.tmp && /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/Output/xteam_reduction_no_parallel.c.tmp | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./bin/FileCheck /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./bin/clang -fopenmp -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include/cuda -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/include/hip -I /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/../languages/kernel/include -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib -L /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./lib -fopenmp-targets=spirv64-intel /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/Output/xteam_reduction_no_parallel.c.tmp
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/Output/xteam_reduction_no_parallel.c.tmp
# .---command stderr------------
# | Segmentation fault from GPU at 0x10000000, ctx_id: 1 (CCS) type: 0 (NotPresent), level: 3 (PML4), access: 1 (Write), banned: 1, aborting.
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/./bin/FileCheck /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c
# .---command stderr------------
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c:26:12: error: CHECK: expected string not found in input
# |  // CHECK: teams distribute: 1048576
# |            ^
# | <stdin>:1:1: note: scanning from here
# | Segmentation fault from GPU at 0x10000000, ctx_id: 1 (CCS) type: 0 (NotPresent), level: 3 (PML4), access: 1 (Write), banned: 1, aborting.
# | ^
# | <stdin>:2:27: note: possible intended match here
# | Abort was called at 307 line in file:
# |                           ^
# | 
# | Input file: <stdin>
# | Check file: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/offload/test/offloading/xteam_reduction_no_parallel.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: Segmentation fault from GPU at 0x10000000, ctx_id: 1 (CCS) type: 0 (NotPresent), level: 3 (PML4), access: 1 (Write), banned: 1, aborting. 
# | check:26'0    {                                                                                                                                            search range start (exclusive)
# | check:26'1                                                                                                                                                 error: no match found in search range
# |             2: Abort was called at 307 line in file: 
# | check:26'2                               ?             possible intended match
# |             3: ../../neo/shared/source/os_interface/linux/drm_neo.cpp 
# | check:26'3                                                            } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/231843


More information about the Openmp-commits mailing list