You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][Doc] Simplify non-uniform group design (#14604)
This commit simplifies the design of the non-uniform group extension as
follows:
- The _group suffix is removed from user-constructed groups to reduce
verbosity.
- get_*_group() functions are replaced with partitioning functions, to
clarify that users are not getting an existing group but rather creating
a new one.
- Fixed-size groups are renamed to "chunks". The previous name did not
convey that the group is contiguous as well as having a fixed size.
- Ballot-groups and opportunistic-groups have been combined into a
single group type called a "fragment", focusing on what the groups
represent rather than how they were constructed.
- Synchronization behavior is added to all partitioning functions, to
reduce the cognitive burden (of remembering which partitioning functions
synchronize).
- An implicit cast from chunks to fragments is introduced. A fragment is
a more general representation than a chunk, and so this conversion is
always valid.
- Split tangle into its own extension. The implementation requirements
for tangle are different to other non-uniform groups, which may limit
their availability to certain device types. Splitting them out into a
separate extension will make it easier to set user expectations and to
track implementation status across backends.
---------
Signed-off-by: John Pennycook <[email protected]>
0 commit comments