Skip to content

Commit 99acd5e

Browse files
enable test for AddressSanitizer
1 parent 596d557 commit 99acd5e

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

sycl/test-e2e/AddressSanitizer/aot/gpu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: linux, gpu && level_zero
22
// REQUIRES: (arch-intel_gpu_pvc || gpu-intel-dg2)
3+
// UNSUPPORTED: spirv-backend
34

45
// RUN: %{run-aux} %{build} %device_asan_aot_flags -O0 -g %S/Inputs/host-usm-oob.cpp -o %t.out
56
// RUN: %{run} not %t.out 2>&1 | FileCheck %S/Inputs/host-usm-oob.cpp

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ config.unsupported_features += ['target-nvidia', 'target-amd']
1515
# https://github.com/intel/llvm/issues/15953
1616
config.unsupported_features += ['gpu-intel-gen12']
1717

18-
# CMPLRLLVM-64052
19-
config.unsupported_features += ['spirv-backend']
20-
2118
# https://github.com/intel/llvm/issues/16920
2219
config.unsupported_features += ['arch-intel_gpu_bmg_g21']
2320

sycl/test-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/multi_device_images.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
// RUN: %clangxx -fsycl %device_asan_flags -O2 -g %t1.o %t2.o -o %t.out
55
// RUN: %{run} not %t.out 2>&1 | FileCheck %s
66

7-
// XFAIL: spirv-backend && run-mode
8-
// XFAIL-TRACKER: CMPLRLLVM-64059
9-
107
#include <sycl/detail/core.hpp>
118

129
#include <sycl/ext/oneapi/device_global/device_global.hpp>

sycl/test-e2e/AddressSanitizer/out-of-bounds/local/multiple_source.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
// RUN: %clangxx -fsycl %device_asan_flags -O2 -g %t1.o %t2.o -o %t.out
55
// RUN: %{run} not %t.out 2>&1 | FileCheck %s
66

7-
// XFAIL: spirv-backend && run-mode
8-
// XFAIL-TRACKER: CMPLRLLVM-64059
9-
107
#include <sycl/usm.hpp>
118

129
constexpr std::size_t N = 4;

0 commit comments

Comments
 (0)