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

Adds all fetch_* SPIR-V overload to experimental #1261

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

diptorupd
Copy link
Collaborator

@diptorupd diptorupd commented Dec 28, 2023

  • Have you provided a meaningful PR description?
    Adds the remaining overloads for fetch_* functions to the _atomic_ref_overloads module. These include - fetch_sub, fetch_min, fetch_max, fetch_and, fetch_or, and fetch_xor.
    This PR also contains positive and negative test cases for testing out each of the atomic functions

  • 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?

@diptorupd diptorupd marked this pull request as draft December 28, 2023 03:15
@diptorupd diptorupd force-pushed the experimental/more_fetch_phi_fns branch from ba7f25c to 8be602a Compare January 2, 2024 20:08
@adarshyoga adarshyoga force-pushed the experimental/more_fetch_phi_fns branch from 8be602a to 7042c6f Compare January 3, 2024 17:32
@adarshyoga adarshyoga self-assigned this Jan 3, 2024
@adarshyoga adarshyoga marked this pull request as ready for review January 8, 2024 22:17
@adarshyoga adarshyoga force-pushed the experimental/more_fetch_phi_fns branch from 0ee15fc to 340d3fe Compare January 8, 2024 22:17
@adarshyoga adarshyoga force-pushed the experimental/more_fetch_phi_fns branch 2 times, most recently from 5b7b5e8 to 4f309af Compare January 9, 2024 21:53
@diptorupd diptorupd force-pushed the experimental/more_fetch_phi_fns branch from 4f309af to c46dbb0 Compare January 9, 2024 22:39
@diptorupd
Copy link
Collaborator Author

@adarshyoga overall looks great. I will like you to reduce the code duplication in the unit tests and this should be good to go.

@adarshyoga adarshyoga force-pushed the experimental/more_fetch_phi_fns branch from c46dbb0 to 3edf70a Compare January 10, 2024 18:53
@chudur-budur chudur-budur self-requested a review January 10, 2024 19:09
Copy link
Collaborator

@chudur-budur chudur-budur left a comment

Choose a reason for hiding this comment

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

LGTM!

@diptorupd diptorupd merged commit 315b6e7 into main Jan 10, 2024
32 of 39 checks passed
@diptorupd diptorupd deleted the experimental/more_fetch_phi_fns branch January 10, 2024 19:33
github-actions bot added a commit that referenced this pull request Jan 10, 2024
…_fns

Adds all fetch_* SPIR-V overload to experimental 315b6e7
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