Skip to content

Factor out device-id computation - #1671

Merged
oleksandr-pavlyk merged 1 commit into
feature/dlpack-1-supportfrom
factor-out-device-id-computation
May 11, 2024
Merged

oleksandr-pavlyk merged 1 commit into
feature/dlpack-1-supportfrom
factor-out-device-id-computation

Conversation

@oleksandr-pavlyk

Copy link
Copy Markdown
Contributor

Factored out device-id computation for DLPack into a separate routine and used it from
both capsule producing functions.

  • 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?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you opening the PR as a draft?

Reuse that in both capsule producers to avoid code duplication
@github-actions

github-actions Bot commented May 11, 2024 •

Copy link
Copy Markdown

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@github-actions

Copy link
Copy Markdown

Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_345 ran successfully.
Passed: 888
Failed: 17
Skipped: 91

@ndgrigorian ndgrigorian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@oleksandr-pavlyk
oleksandr-pavlyk merged commit 1205b0b into feature/dlpack-1-support May 11, 2024
@oleksandr-pavlyk
oleksandr-pavlyk deleted the factor-out-device-id-computation branch August 5, 2024 18:37
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