Skip to content

Commit

Permalink
Add line about possibly empty groups
Browse files Browse the repository at this point in the history
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
  • Loading branch information
steffenlarsen committed Mar 7, 2024
1 parent d141074 commit dabdb71
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ _Returns_: A `range` representing the number of ballot-groups.
NOTE: This will always return a `range` of 2, as there will always be two groups;
one representing the group of work-items where the predicate was true and
another representing the group of work-items where the predicate was false.
It is possible for one of these groups to contain no work-items, if the
predicate has the same value on all work-items.

[source,c++]
----
Expand Down

0 comments on commit dabdb71

Please sign in to comment.