Skip to content

Skip test_digitize_empty on LNL Windows #2407

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR suggests skipping test_digitize_empty - empty array case on LunarLake Windows as a temporary workaround to avoid crashes in the internal CI

  • 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?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented Apr 3, 2025

View rendered docs @ https://intelpython.github.io/dpnp/pull/2407/index.html

Comment on lines +109 to +114
device_mask = (
du.intel_device_info(x_dp.sycl_device).get("device_id", 0)
& 0xFF00
)
# upper byte of device_id for LNL architecture
if device_mask in [0x6400]:
Copy link
Contributor

Choose a reason for hiding this comment

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

It'd be good to have a helper function which obtains a mask for the default or input device and checks if it matches with specified device architecture.
While for LNL arch value it'd be better to expose it as a enum value.

Copy link
Contributor

Choose a reason for hiding this comment

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

Meanwhile it might be helpful to add a link to the enum description on GitHub page where to find the values of device architectures.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 72.271%. remained the same
when pulling 6af2d58 on skip_tests_lnl
into 434156d on master.

Copy link
Contributor

github-actions bot commented Apr 3, 2025

Array API standard conformance tests for dpnp=0.18.0dev0=py312he4f9c94_66 ran successfully.
Passed: 1197
Failed: 0
Skipped: 14

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants