Skip to content

[SYCL] Make device_has test correctly handle changed metadata #8161

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

Merged

Conversation

steffenlarsen
Copy link
Contributor

The sycl/test/check_device_code/device_has.cpp test currently enforces strict ordering of the expected metadata in the resulting IR, but there is no guarantee about this ordering and future changes could make some of the metadata appear earlier, e.g. through consolidation with other metadata nodes. This test should not care about the order however, so this commit removes the ordering requirements.

The sycl/test/check_device_code/device_has.cpp test currently enforces
strict ordering of the expected metadata in the resulting IR, but there
is no guarantee about this ordering and future changes could make some
of the metadata appear earlier, e.g. through consolidation with other
metadata nodes. This test should not care about the order however, so
this commit removes the ordering requirements.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner January 31, 2023 12:02
@steffenlarsen steffenlarsen temporarily deployed to aws January 31, 2023 12:34 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws January 31, 2023 13:35 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen merged commit 24e36e8 into intel:sycl Jan 31, 2023
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.

3 participants