[llvm] [libsycl] Implement nd_range kernel submissions (PR #206505)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 08:20:29 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 `libsycl` at step 7 "test-build-unified-tree-check-sycl".

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

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

```
Step 7 (test-build-unified-tree-check-sycl) failure: test (failure)
******************** TEST 'libsycl :: basic/group.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang++ -Werror  -fsycl /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/libsycl/test/basic/Output/group.cpp.tmp.out
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang++ -Werror -fsycl /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/runtimes/runtimes-bins/libsycl/test/basic/Output/group.cpp.tmp.out
# .---command stderr------------
# | In file included from /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:5:
# | In file included from /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/sycl.hpp:28:
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:353:12: error: call to member function 'parallel_for' is ambiguous
# |   353 |     return parallel_for<KernelName, Dims, Rest...>(executionRange, {},
# |       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:28:5: note: in instantiation of function template specialization 'sycl::queue::parallel_for<group_get_group_range_regression, 3, (lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:29:51)>' requested here
# |    28 |   Q.parallel_for<class group_get_group_range_regression>(
# |       |     ^
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:358:9: note: candidate function [with KernelName = group_get_group_range_regression, Dims = 3, Rest = <(lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:29:51)>]
# |   358 |   event parallel_for(nd_range<Dims> executionRange, event depEvent,
# |       |         ^
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:365:9: note: candidate function [with KernelName = group_get_group_range_regression, Dims = 3, Rest = <(lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:29:51)>]
# |   365 |   event parallel_for(nd_range<Dims> executionRange,
# |       |         ^
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:353:12: error: call to member function 'parallel_for' is ambiguous
# |   353 |     return parallel_for<KernelName, Dims, Rest...>(executionRange, {},
# |       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:37:5: note: in instantiation of function template specialization 'sycl::queue::parallel_for<group_get_group_linear_id_regression, 3, (lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:38:51)>' requested here
# |    37 |   Q.parallel_for<class group_get_group_linear_id_regression>(
# |       |     ^
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:358:9: note: candidate function [with KernelName = group_get_group_linear_id_regression, Dims = 3, Rest = <(lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:38:51)>]
# |   358 |   event parallel_for(nd_range<Dims> executionRange, event depEvent,
# |       |         ^
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/../include/sycl/__impl/queue.hpp:365:9: note: candidate function [with KernelName = group_get_group_linear_id_regression, Dims = 3, Rest = <(lambda at /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/libsycl/test/basic/group.cpp:38:51)>]
# |   365 |   event parallel_for(nd_range<Dims> executionRange,
# |       |         ^
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

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


```

</details>

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


More information about the llvm-commits mailing list