Skip to content

Commit 9d185d1

Browse files
zhaomaosuKornevNikita
authored andcommitted
[DevMSAN][E2E] Only run device memory sanitizer tests on CPU and GPU PVC (#16456)
1 parent 7737e73 commit 9d185d1

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

sycl/test-e2e/MemorySanitizer/check_buffer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
// RUN: %{build} %device_msan_flags -O2 -g -o %t3.out
77
// RUN: %{run} not %t3.out 2>&1 | FileCheck %s
88

9-
// XFAIL: gpu-intel-gen12 || gpu-intel-dg2
10-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16184
11-
129
#include <sycl/detail/core.hpp>
1310

1411
__attribute__((noinline)) long long foo(int data1, long long data2) {

sycl/test-e2e/MemorySanitizer/check_call.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
// RUN: %{build} %device_msan_flags -O2 -g -o %t3.out
77
// RUN: %{run} not %t3.out 2>&1 | FileCheck %s
88

9-
// XFAIL: gpu-intel-gen12 || gpu-intel-dg2
10-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16184
11-
129
#include <sycl/detail/core.hpp>
1310
#include <sycl/usm.hpp>
1411

sycl/test-e2e/MemorySanitizer/check_divide.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
// RUN: %{build} %device_msan_flags -O2 -g -o %t3.out
77
// RUN: %{run} not %t3.out 2>&1 | FileCheck %s
88

9-
// XFAIL: gpu-intel-gen12 || gpu-intel-dg2
10-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16184
11-
129
#include <sycl/detail/core.hpp>
1310
#include <sycl/usm.hpp>
1411

sycl/test-e2e/MemorySanitizer/lit.local.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# TRACKER: https://github.com/intel/llvm/issues/16184
2+
has_arch_gpu_intel_pvc = any('arch-intel_gpu_pvc' in T for T in config.sycl_dev_features.values())
3+
if not has_arch_gpu_intel_pvc:
4+
config.unsupported_features += ['gpu']
5+
16
config.substitutions.append(
27
("%device_msan_flags", "-Xarch_device -fsanitize=memory")
38
)

0 commit comments

Comments
 (0)