Skip to content

Commit

Permalink
Rename this_work_item::get_work_group()
Browse files Browse the repository at this point in the history
get_group() conveys that it returns a sycl::group, avoids introducing a
dependency on the khr_group_interface extension, and reserves get_work_group()
for future use.
  • Loading branch information
Pennycook committed Dec 17, 2024
1 parent 8cb2421 commit 31dc1c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions adoc/extensions/sycl_khr_work_item_queries.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ in the [code]#sycl::nd_range#.

'''

.[apidef]#khr::this_work_item::get_work_group#
[source,role=synopsis,id=api:khr-this-work-item-get-work-group]
.[apidef]#khr::this_work_item::get_group#
[source,role=synopsis,id=api:khr-this-work-item-get-group]
----
namespace sycl::khr::this_work_item {
template <int Dimensions>
group<Dimensions> get_work_group();
group<Dimensions> get_group();
}
----
Expand Down

0 comments on commit 31dc1c2

Please sign in to comment.