File tree 1 file changed +2
-3
lines changed
sycl/test-e2e/AddressSanitizer/invalid-argument
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- // REQUIRES: linux
1
+ // REQUIRES: linux, cpu || level_zero
2
2
// RUN: %{build} %device_asan_flags -O2 -g -o %t
3
- // RUN: env SYCL_PREFER_UR=1 UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" ONEAPI_DEVICE_SELECTOR=level_zero:gpu %{run-unfiltered-devices} not %t 2>&1 | FileCheck --check-prefixes CHECK-GPU %s
4
- // RUN: env SYCL_PREFER_UR=1 UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t 2>&1 | FileCheck --check-prefixes CHECK-CPU %s
3
+ // RUN: env SYCL_PREFER_UR=1 UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" %{run} %if gpu %{ not %} %t 2>&1 | FileCheck --check-prefixes %if cpu %{ CHECK-CPU %} %if gpu %{ CHECK-GPU %} %s
5
4
6
5
#include < sycl/detail/core.hpp>
7
6
#include < sycl/usm.hpp>
You can’t perform that action at this time.
0 commit comments