From 418c6da6922bebad5ab1d36e6de7fc36bb2b89b6 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Tue, 1 Sep 2026 12:09:32 +0200 Subject: [PATCH 1/2] [Editorial] Fix mention of the removed function The group class doesn't have the get_linear_id() function. Replace by get_group_linear_id(). --- adoc/chapters/programming_interface.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index 180221dd7..f1daf15e5 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -13716,7 +13716,7 @@ representing the work-item computation. Note that the logical range does not need to be uniform across all work-groups in a kernel. For example the logical range may depend on -a work-group varying query (e.g. [code]#group::get_linear_id)#, +a work-group varying query (e.g. [code]#group::get_group_linear_id)#, such that different work-groups in the same kernel invocation execute different logical range sizes. From e13e4b2ffc6afad697e24fd47795d894df87388b Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Wed, 2 Sep 2026 11:07:03 +0200 Subject: [PATCH 2/2] drop --- adoc/chapters/programming_interface.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index f1daf15e5..9144b448b 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -13716,9 +13716,8 @@ representing the work-item computation. Note that the logical range does not need to be uniform across all work-groups in a kernel. For example the logical range may depend on -a work-group varying query (e.g. [code]#group::get_group_linear_id)#, -such that different work-groups in the same kernel invocation execute -different logical range sizes. +a work-group varying query such that different work-groups in the same kernel +invocation execute different logical range sizes. This member function can only be invoked within a [code]#parallel_for_work_group# context.