From 46844638ea115811bdd7c152298b01352c5d8469 Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Sat, 12 Oct 2024 06:13:29 +0900 Subject: [PATCH] [SYCL][E2E] Fix Arc postcommit (#15676) The USM failures are sporadic, so let's make them unsupported. Also one matrix test is passing. The ASAN tests always fail so XFAIL those. Signed-off-by: Sarnie, Nick --- .../AddressSanitizer/invalid-argument/out-of-bounds.cpp | 4 ++++ .../AddressSanitizer/invalid-argument/released-pointer.cpp | 4 ++++ .../SPVCooperativeMatrix/joint_matrix_apply_two_matrices.cpp | 2 +- sycl/test-e2e/USM/memops2d/copy2d_dhost_to_shared.cpp | 2 +- sycl/test-e2e/USM/memops2d/copy2d_host_to_shared.cpp | 2 +- sycl/test-e2e/USM/memops2d/copy2d_shared_to_dhost.cpp | 2 +- sycl/test-e2e/USM/memops2d/copy2d_shared_to_host.cpp | 2 +- sycl/test-e2e/USM/memops2d/memcpy2d_dhost_to_shared.cpp | 2 +- sycl/test-e2e/USM/memops2d/memcpy2d_host_to_shared.cpp | 2 +- sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_dhost.cpp | 2 +- sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_host.cpp | 2 +- sycl/test-e2e/no-xfail-without-tracker.cpp | 2 +- 12 files changed, 18 insertions(+), 10 deletions(-) diff --git a/sycl/test-e2e/AddressSanitizer/invalid-argument/out-of-bounds.cpp b/sycl/test-e2e/AddressSanitizer/invalid-argument/out-of-bounds.cpp index 54491aaed6c7..5002cb4f2ae6 100644 --- a/sycl/test-e2e/AddressSanitizer/invalid-argument/out-of-bounds.cpp +++ b/sycl/test-e2e/AddressSanitizer/invalid-argument/out-of-bounds.cpp @@ -1,4 +1,8 @@ // REQUIRES: linux, gpu + +// XFAIL: gpu-intel-dg2 && linux +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/15648 + // RUN: %{build} %device_asan_flags -O2 -g -o %t // RUN: env SYCL_PREFER_UR=1 UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" %{run} not %t 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp b/sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp index 589d2f4c5ff1..57a06bcf7c1c 100644 --- a/sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp +++ b/sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp @@ -1,4 +1,8 @@ // REQUIRES: linux, gpu + +// XFAIL: gpu-intel-dg2 && linux +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/15648 + // RUN: %{build} %device_asan_flags -O2 -g -o %t // RUN: env SYCL_PREFER_UR=1 UR_LAYER_ASAN_OPTIONS="quarantine_size_mb:1;detect_kernel_arguments:1" %{run} not %t 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/Matrix/SPVCooperativeMatrix/joint_matrix_apply_two_matrices.cpp b/sycl/test-e2e/Matrix/SPVCooperativeMatrix/joint_matrix_apply_two_matrices.cpp index debf296c010b..0a266a779284 100644 --- a/sycl/test-e2e/Matrix/SPVCooperativeMatrix/joint_matrix_apply_two_matrices.cpp +++ b/sycl/test-e2e/Matrix/SPVCooperativeMatrix/joint_matrix_apply_two_matrices.cpp @@ -11,7 +11,7 @@ // RUN: %{run} %t.out // XFAIL: cpu -// XFAIL: gpu +// XFAIL: gpu && !gpu-intel-dg2 #include "../common.hpp" #include "../joint_matrix_apply_two_matrices_impl.hpp" diff --git a/sycl/test-e2e/USM/memops2d/copy2d_dhost_to_shared.cpp b/sycl/test-e2e/USM/memops2d/copy2d_dhost_to_shared.cpp index e48514553c5c..9d03eeb3d635 100644 --- a/sycl/test-e2e/USM/memops2d/copy2d_dhost_to_shared.cpp +++ b/sycl/test-e2e/USM/memops2d/copy2d_dhost_to_shared.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "copy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/copy2d_host_to_shared.cpp b/sycl/test-e2e/USM/memops2d/copy2d_host_to_shared.cpp index c82a643156a3..1bab3de9cd1a 100644 --- a/sycl/test-e2e/USM/memops2d/copy2d_host_to_shared.cpp +++ b/sycl/test-e2e/USM/memops2d/copy2d_host_to_shared.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "copy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/copy2d_shared_to_dhost.cpp b/sycl/test-e2e/USM/memops2d/copy2d_shared_to_dhost.cpp index fd2875258fbe..f7128bd37b9e 100644 --- a/sycl/test-e2e/USM/memops2d/copy2d_shared_to_dhost.cpp +++ b/sycl/test-e2e/USM/memops2d/copy2d_shared_to_dhost.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "copy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/copy2d_shared_to_host.cpp b/sycl/test-e2e/USM/memops2d/copy2d_shared_to_host.cpp index 22439851b2a2..8a587268e9e5 100644 --- a/sycl/test-e2e/USM/memops2d/copy2d_shared_to_host.cpp +++ b/sycl/test-e2e/USM/memops2d/copy2d_shared_to_host.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "copy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/memcpy2d_dhost_to_shared.cpp b/sycl/test-e2e/USM/memops2d/memcpy2d_dhost_to_shared.cpp index 39c83b27f2cd..dcf5c2cebadb 100644 --- a/sycl/test-e2e/USM/memops2d/memcpy2d_dhost_to_shared.cpp +++ b/sycl/test-e2e/USM/memops2d/memcpy2d_dhost_to_shared.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "memcpy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/memcpy2d_host_to_shared.cpp b/sycl/test-e2e/USM/memops2d/memcpy2d_host_to_shared.cpp index b678cb1b2664..3ab6a0883320 100644 --- a/sycl/test-e2e/USM/memops2d/memcpy2d_host_to_shared.cpp +++ b/sycl/test-e2e/USM/memops2d/memcpy2d_host_to_shared.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "memcpy2d_common.hpp" diff --git a/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_dhost.cpp b/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_dhost.cpp index 6d9cb8e773b4..679587a82a66 100644 --- a/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_dhost.cpp +++ b/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_dhost.cpp @@ -11,7 +11,7 @@ // RUN: %{run} %t.out // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux // Temporarily disabled until the failure is addressed. // UNSUPPORTED: (level_zero && windows) diff --git a/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_host.cpp b/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_host.cpp index 122d72bb07cd..4364684b9b84 100644 --- a/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_host.cpp +++ b/sycl/test-e2e/USM/memops2d/memcpy2d_shared_to_host.cpp @@ -14,7 +14,7 @@ // UNSUPPORTED: (level_zero && windows) // https://github.com/intel/llvm/issues/15648 -// XFAIL: gpu-intel-dg2 && linux +// UNSUPPORTED: gpu-intel-dg2 && linux #include "memcpy2d_common.hpp" diff --git a/sycl/test-e2e/no-xfail-without-tracker.cpp b/sycl/test-e2e/no-xfail-without-tracker.cpp index 54da766fe9fc..b9d59ce35aa6 100644 --- a/sycl/test-e2e/no-xfail-without-tracker.cpp +++ b/sycl/test-e2e/no-xfail-without-tracker.cpp @@ -47,4 +47,4 @@ // tests to match the required format and in that case you should just update // (i.e. reduce) the number below. // -// NUMBER-OF-XFAIL-WITHOUT-TRACKER: 187 +// NUMBER-OF-XFAIL-WITHOUT-TRACKER: 179