Skip to content

Skip tests on devices that don't support a USM type - #2418

Open
ndgrigorian wants to merge 1 commit into
masterfrom
fix-tests-for-unsupported-usm-types
Open

ndgrigorian wants to merge 1 commit into
masterfrom
fix-tests-for-unsupported-usm-types

Conversation

@ndgrigorian

Copy link
Copy Markdown
Collaborator

This PR fixes tests that allocate shared, host, or device USM so that they skip on devices without the corresponding usm_*_allocations aspect

The check already used by the memset and fill tests is moved into dpctl/tests/helper as skip_if_usm_unsupported

  • 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?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

@coveralls

coveralls commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 74.963%. remained the same — fix-tests-for-unsupported-usm-types into master

Move the USM aspect check from the memset and fill tests into dpctl/tests/helper and use it wherever tests allocate shared, host, or device USM.
@ndgrigorian
ndgrigorian force-pushed the fix-tests-for-unsupported-usm-types branch from ed110d4 to b5538c5 Compare November 5, 2026 17:31

This branch has not been deployed

No deployments
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