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

Use enum values for kernel arg types if dpctl >= 0.17 #1379

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

diptorupd
Copy link
Contributor

  • Have you provided a meaningful PR description?
    Updated the DPCTLKernelArgType enum values to be aligned with C++11 types dpctl#1581 updated the enum values for DPCTLSyclKernelArgTy and also introduced a Python enum to track the libsyclinterface values. The current numba-dpex PR uses the latest API and enum from dpctl if the semantic version of dpctl is 0.17 or greater. Old behavior is retained for backward compatibility.

  • 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 requested a review from ZzEeKkAa March 7, 2024 03:54
@diptorupd diptorupd force-pushed the fixup/update_dpctl_kernelargtys branch 2 times, most recently from f70c06a to 7f75500 Compare March 7, 2024 19:34
@diptorupd diptorupd force-pushed the fixup/update_dpctl_kernelargtys branch from c3e02d7 to eeb3145 Compare March 8, 2024 19:03
Copy link
Contributor

@ZzEeKkAa ZzEeKkAa left a comment

Choose a reason for hiding this comment

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

LGTM if tests pass!

@ZzEeKkAa ZzEeKkAa reopened this Mar 8, 2024
@diptorupd diptorupd merged commit b17745c into main Mar 9, 2024
101 of 102 checks passed
@diptorupd diptorupd deleted the fixup/update_dpctl_kernelargtys branch March 9, 2024 05:17
github-actions bot added a commit that referenced this pull request Mar 9, 2024
…gtys

Use enum values for kernel arg types if dpctl >= 0.17 b17745c
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.

2 participants