Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sycl_khr_group_interface extension #638

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 4, 2024

  1. Add sycl_khr_group_interface extension

    This extension introduces an alternative interface for groups of
    work-items, offering several improvements over the SYCL 2020 interface:
    
    - Shorter names for member functions, dropping the get_ prefix.
    
    - Cleaner separation between properties of a group (e.g., a group id)
      and properties of the calling work-item (e.g., its id within a group).
    
    - Clearer distinction between "group" concept and "work_group" class.
    
    - New work_item class to represent a single work-item within a specific
      parent group. This class also satisfies the group concept, modeling
      a group containing a single work-item.
    Pennycook committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    93e784e View commit details
    Browse the repository at this point in the history
  2. Fix typo in khr_group_interface example

    khr::work_item is not templated on dimensions.
    Pennycook committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    eb009d0 View commit details
    Browse the repository at this point in the history
  3. Fix khr::work_item extents_type

    The synopsis previously assumed that the extents would be one
    dimensional, but it must match the ParentGroup. There is no suitable
    shorthand alias or exposition-only description for this case defined
    by mdspan, so replace the type with a comment.
    Pennycook committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    04bc66d View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    d6e0d11 View commit details
    Browse the repository at this point in the history