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 Group and overload NdItem.get_group() #1310

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

ZzEeKkAa
Copy link
Contributor

@ZzEeKkAa ZzEeKkAa commented Feb 2, 2024

Adds Group class that is mock for the sycl::group. Adds corresponding numba type with empty struct data model to avoid any allocations, since it is just typing feature. As a result barriers can be used only at NdRanges, which is aligned with sycl.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

@ZzEeKkAa ZzEeKkAa self-assigned this Feb 2, 2024
@ZzEeKkAa ZzEeKkAa force-pushed the feature/nd_item_get_group branch from cd9026f to 267ac4f Compare February 3, 2024 01:33
@ZzEeKkAa ZzEeKkAa marked this pull request as draft February 3, 2024 01:34
@ZzEeKkAa ZzEeKkAa force-pushed the feature/nd_item_get_group branch from 267ac4f to 5c80b0f Compare February 3, 2024 01:41
@ZzEeKkAa ZzEeKkAa force-pushed the feature/nd_item_get_group branch 2 times, most recently from 230f170 to c0f6d2f Compare February 3, 2024 01:47
@ZzEeKkAa ZzEeKkAa changed the title WIP: Add Group and overload NdItem.get_group() Add Group and overload NdItem.get_group() Feb 3, 2024
@ZzEeKkAa ZzEeKkAa marked this pull request as ready for review February 3, 2024 01:50
@ZzEeKkAa ZzEeKkAa force-pushed the feature/nd_item_get_group branch from c0f6d2f to 17c60e3 Compare February 3, 2024 01:52
@ZzEeKkAa ZzEeKkAa requested a review from diptorupd February 3, 2024 01:52
@ZzEeKkAa ZzEeKkAa force-pushed the feature/nd_item_get_group branch 3 times, most recently from e8290d4 to 588a65a Compare February 5, 2024 18:08
@ZzEeKkAa ZzEeKkAa requested a review from diptorupd February 5, 2024 18:09
@diptorupd diptorupd force-pushed the feature/nd_item_get_group branch from 588a65a to 6101f49 Compare February 6, 2024 03:53
@diptorupd diptorupd force-pushed the feature/nd_item_get_group branch from 6101f49 to dc6c1b0 Compare February 6, 2024 04:15
Copy link
Contributor

@diptorupd diptorupd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Good to go 👍

@diptorupd diptorupd enabled auto-merge February 6, 2024 04:16
@diptorupd diptorupd requested a review from adarshyoga February 6, 2024 04:44
@diptorupd diptorupd disabled auto-merge February 6, 2024 04:45
@diptorupd diptorupd merged commit ccb7606 into main Feb 6, 2024
43 of 54 checks passed
@diptorupd diptorupd deleted the feature/nd_item_get_group branch February 6, 2024 04:45
github-actions bot added a commit that referenced this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants