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

Backport gh-1568 to 0.16.x maintenance branch #1606

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

oleksandr-pavlyk
Copy link
Collaborator

This PR backports gh-1568 to 'maintenance/0.16.x' branch.

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

Profiling of an example of GPU Max revealed that repeated calls to
dpctl.select_default_device() took 200x longer than actual computatations.

Introduced dpctl._sycl_device_factory._cached_default_device() and deployed
it in tensor (in _usmarray and in _device).
Copy link

github-actions bot commented Mar 26, 2024

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

Copy link

Array API standard conformance tests for dpctl=0.16.0=py310h15de555_2 ran successfully.
Passed: 837
Failed: 2
Skipped: 92

@oleksandr-pavlyk oleksandr-pavlyk merged commit fc26a64 into maintenance/0.16.x Mar 27, 2024
44 of 49 checks passed
@oleksandr-pavlyk oleksandr-pavlyk deleted the backport-gh-1568 branch March 27, 2024 03:27
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