[llvm] [libsycl] Implement nd_range kernel submissions (PR #206505)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 05:16:40 PDT 2026
================
@@ -126,6 +127,18 @@ class Builder {
return __spirv::initBuiltInGlobalInvocationId<Dims, id<Dims>>();
}
+ /// \return the work group currently being operated on by the device.
+ template <int Dims> static const group<Dims> getElement(group<Dims> *) {
+ static_assert(isValidDimensions<Dims>, "invalid dimensions");
+ return group<Dims>();
----------------
KseniyaTikhomirova wrote:
you are right, this will be needed and tested later once I implement parallel_for_work_group. Removed for now.
https://github.com/llvm/llvm-project/pull/206505
More information about the llvm-commits
mailing list