[llvm] [libsycl] Implement nd_range kernel submissions (PR #206505)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 06:50:36 PDT 2026
================
@@ -126,6 +127,12 @@ class Builder {
return __spirv::initBuiltInGlobalInvocationId<Dims, id<Dims>>();
}
+ /// \return the nd_item currently being operated on by the device.
+ template <int Dims> static const nd_item<Dims> getElement(nd_item<Dims> *) {
----------------
KseniyaTikhomirova wrote:
getElement is not a free function, all these methods are grouped by class Builder and should be static since don't require object to exist.
https://github.com/llvm/llvm-project/pull/206505
More information about the llvm-commits
mailing list