Skip to content

Commit

Permalink
Add constraints to get_item
Browse files Browse the repository at this point in the history
  • Loading branch information
Pennycook committed Oct 7, 2024
1 parent 04bc66d commit d6e0d11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adoc/extensions/sycl_khr_group_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ template <typename Group>
work_item<Group> get_item(Group g) noexcept
----

_Constraints_: Available only if `Group` is `work_group` or `sub_group`.

_Returns_: A [code]#work_item# representing the calling work-item within group
[code]#g#.

Expand Down

0 comments on commit d6e0d11

Please sign in to comment.