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] Skip failing tests for PVC T1 #15684

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions sycl/test-e2e/Plugin/level_zero_ext_intel_cslice.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// REQUIRES: level_zero
// REQUIRES: aspect-ext_intel_device_id
// https://github.com/intel/llvm/issues/14826
// XFAIL: arch-intel_gpu_pvc

// RUN: %{build} -Wno-error=deprecated-declarations -o %t.out

Expand Down Expand Up @@ -180,10 +178,17 @@ void test_non_pvc(device &d) {
}
}

bool IsPVC_T1(sycl::device &d) {
uint32_t device_id = d.get_info<sycl::ext::intel::info::device::device_id>();
return device_id == 0xbda;
}

int main() {
device d;

test_pvc(d);
// Check to skip the test for PVC T1
if (!IsPVC_T1(d)) {
test_pvc(d);
}
test_non_pvc(d);

return 0;
Expand Down
10 changes: 8 additions & 2 deletions sycl/test-e2e/Plugin/level_zero_ext_intel_queue_index.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// REQUIRES: aspect-ext_intel_device_id
// REQUIRES: level_zero

// https://github.com/intel/llvm/issues/14826
// XFAIL: arch-intel_gpu_pvc
// RUN: %{build} -o %t.out

// TODO: at this time PVC 1T systems are not correctly supporting CSLICE
Expand Down Expand Up @@ -111,9 +109,17 @@ void test_pvc(device &d) {
std::cout << "Test PVC End" << std::endl;
// CHECK-PVC: Test PVC End
}
bool IsPVC_T1(sycl::device &d) {
uint32_t device_id = d.get_info<sycl::ext::intel::info::device::device_id>();
return device_id == 0xbda;
}

int main() {
device d;
// Check to skip the test for PVC T1
if (IsPVC_T1(d)) {
return 0;
}

test_pvc(d);

Expand Down
Loading