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

Simplify DpnpNdArray to USMNdArray conversion during kernel argument resolution. #1092

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

diptorupd
Copy link
Collaborator

  • Have you provided a meaningful PR description?
    In KernelTarget's resolve_argument_type we convert DpnpNdArray type arguments to USMNdArray. Previously, the conversion was done using the __sycl_usm_array_interface__ via Python. The PR changes to only do a type conversion from DpnpNdArray to USMNdArray without having to introspect the __sycl_usm_array_interface__ dictionary.

  • Have you added a test, reproducer or referred to an issue with a reproducer?

Not needed as existing tests check for the functionality.

  • 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 July 13, 2023 20:44
Copy link
Collaborator

@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

@diptorupd diptorupd force-pushed the fix/kernel_resolve_dpnp_args branch from 6916a9b to 583dd5b Compare July 19, 2023 03:35
@diptorupd diptorupd merged commit 1bb30da into main Jul 19, 2023
22 checks passed
@diptorupd diptorupd deleted the fix/kernel_resolve_dpnp_args branch July 19, 2023 04:58
github-actions bot added a commit that referenced this pull request Jul 19, 2023
Simplify DpnpNdArray to USMNdArray conversion during kernel argument resolution. 1bb30da
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