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

[SYCL][E2E] Change test markup to enable build-only mode on AMD #17003

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

ayylol
Copy link
Contributor

@ayylol ayylol commented Feb 13, 2025

No description provided.

@ayylol ayylol requested review from a team as code owners February 13, 2025 16:06
@ayylol
Copy link
Contributor Author

ayylol commented Feb 13, 2025

Some notes:

  • These changes themselves do not enable build-only for AMD, they just add the required test markup so that it can be enabled.
  • I checked for which tests I needed to change in [SYCL][E2E] Run E2E tests on AMD with prebuilt binaries in precommit #16953
  • I only added UNSUPPORTED-INTENDED to the tests where I had to add additional unsupported statements, so that it passes the e2e requirements check. I Needed to do this for tests that required legacy image, sampled fetch, and mipmap aspects. I am guessing that these are outright not supported for AMD triple, but wanted to verify.

@@ -1,5 +1,5 @@
// REQUIRES: aspect-ext_intel_legacy_image
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: cuda || target-amd
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bit surprising that it's a runtime condition for CUDA and compile-time for AMD. tagging @intel/llvm-reviewers-cuda for any potential follow-up to this.

@@ -3,6 +3,9 @@
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/14387
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out | FileCheck %s
//
// UNSUPPORTED: target-amd
// UNSUPPORTED-INTENDED: legacy image not supported on AMD
Copy link
Contributor

Choose a reason for hiding this comment

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

why isnt this failing on amd today?

Copy link
Contributor Author

@ayylol ayylol Feb 13, 2025

Choose a reason for hiding this comment

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

I think what is going on is that the required feature never appears on any AMD devices, so historically it was an implicit UNSUPPORTED: hip. Though I think it would be good to confirm this with people that are more familiar with these particular aspects.

@@ -1,4 +1,6 @@
// REQUIRES: aspect-ext_oneapi_image_array
// UNSUPPORTED: target-amd
Copy link
Contributor

Choose a reason for hiding this comment

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

same q on all of these on why they arent failing now

Copy link
Contributor

Choose a reason for hiding this comment

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

The aspect ext_oneapi_image_array returns false when using the hip backend so this test does not run on AMD hardware. Same for L0 but that is planned to change soon.

@ayylol
Copy link
Contributor Author

ayylol commented Feb 14, 2025

@aelovikov-intel @sarnex FIY, since your approvals I added 3 new file changes, based on this CI run https://github.com/intel/llvm/actions/runs/13331013654/job/37234912237?pr=16953.

@ayylol
Copy link
Contributor Author

ayylol commented Feb 14, 2025

@intel/bindless-images-reviewers @intel/syclcompat-lib-reviewers @intel/sycl-graphs-reviewers @intel/unified-runtime-reviewers Friendly ping. The changes in this pr are required for enabling #16953 which is part of the ongoing activity to improve CI performance for everybody

Copy link
Contributor

@ProGTX ProGTX left a comment

Choose a reason for hiding this comment

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

SYCLcompat changes LGTM, Bindless Images as well, though someone else should take a look at that.

@ayylol
Copy link
Contributor Author

ayylol commented Feb 14, 2025

Both failures are the same as #17008

@ayylol
Copy link
Contributor Author

ayylol commented Feb 18, 2025

@intel/sycl-graphs-reviewers @intel/unified-runtime-reviewers Hello, would appreciate a review here. This pr is needed to continue progress with #16953 which is ready to go apart from the approval/merging of this pr.

Copy link
Contributor

@kbenzie kbenzie left a comment

Choose a reason for hiding this comment

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

UR LGTM

@aelovikov-intel
Copy link
Contributor

@intel/sycl-graphs-reviewers , this is unacceptable.

@EwanC , @reble , @fabiomestre , @Bensuo , @konradkusiak97

@aelovikov-intel aelovikov-intel merged commit 9f50e24 into intel:sycl Feb 19, 2025
14 of 16 checks passed
@ayylol ayylol deleted the amd-markup-change branch February 19, 2025 16:50
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.

7 participants