Skip to content

Commit ba3dd1a

Browse files
committed
Add as split exceptions tests that fail on run-only stage
These are mostly AOT tests
1 parent 142e661 commit ba3dd1a

22 files changed

+22
-0
lines changed

sycl/test-e2e/AOT/cpu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//===---------------------------------------------------------------------===//
88

99
// REQUIRES: opencl-aot, cpu
10+
// REQUIRES: build-and-run-mode
1011

1112
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/aot.cpp -o %t.out
1213
// RUN: %{run} %t.out

sycl/test-e2e/AOT/double.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// using fp64 can be compiled AOT.
33

44
// REQUIRES: ocloc, opencl-aot, any-device-is-cpu
5+
// REQUIRES: build-and-run-mode
56
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s
67
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -o %t.x86.out %s
78
// RUN: %if cpu %{ %{run} %t.x86.out %}

sycl/test-e2e/AOT/half.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// using fp16 can be compiled AOT.
33

44
// REQUIRES: ocloc, opencl-aot, any-device-is-cpu
5+
// REQUIRES: build-and-run-mode
56
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s
67
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -o %t.x86.out %s
78
// RUN: %if cpu %{ %{run} %t.x86.out %}

sycl/test-e2e/BFloat16/bfloat16_example_aot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
///
55

66
// REQUIRES: opencl-aot, ocloc, gpu-intel-gen12, any-device-is-cpu
7+
// REQUIRES: build-and-run-mode
78

89
// RUN: %clangxx -fsycl -fsycl-targets=spir64 %s -o %t.out
910
// RUN: %{run} %t.out

sycl/test-e2e/BFloat16/bfloat16_example_aot_cpu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
///
55

66
// REQUIRES: opencl-aot, ocloc, gpu-intel-gen12, any-device-is-cpu
7+
// REQUIRES: build-and-run-mode
78

89
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_gen -Xsycl-target-backend=spir64_gen "-device dg1" %s -o %t.out
910
// RUN: %if cpu %{ %{run} %t.out %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// End-to-End test for testing device image compression in AOT.
22
// REQUIRES: zstd, opencl-aot, cpu
3+
// REQUIRES: build-and-run-mode
34

45
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %O0 --offload-compress --offload-compression-level=3 %S/Inputs/single_kernel.cpp -o %t_compress.out
56
// RUN: %{run} %t_compress.out

sycl/test-e2e/Compression/compression_separate_compile.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// seperatly compile and link device images.
33

44
// REQUIRES: zstd, opencl-aot, cpu, linux
5+
// REQUIRES: build-and-run-mode
56

67
////////////////////// Compile device images
78
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ -fsycl-host-compiler-options='-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL1' -DENABLE_KERNEL1 -c %s -o %t_kernel1_aot.o

sycl/test-e2e/DeviceArchitecture/device_architecture_on_device_aot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: opencl-aot, cpu
2+
// REQUIRES: build-and-run-mode
23
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %s -o %t.out
34
// RUN: %{run} %t.out
45

sycl/test-e2e/DeviceCodeSplit/aot-cpu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: opencl-aot, cpu
2+
// REQUIRES: build-and-run-mode
23

34
// RUN: %clangxx -fsycl -fsycl-device-code-split=per_source -fsycl-targets=spir64_x86_64 -I %S/Inputs -o %t.out %S/split-per-source-main.cpp %S/Inputs/split-per-source-second-file.cpp \
45
// RUN: -fsycl-dead-args-optimization
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: opencl-aot, cpu, linux
2+
// REQUIRES: build-and-run-mode
23

34
// RUN: %clangxx -DSYCL_FALLBACK_ASSERT=1 -fsycl -fsycl-targets=spir64_x86_64 %S/assert.cpp -o %t.aot.out
45
// RUN: env EXPECTED_SIGNAL=SIGABRT SHOULD_CRASH=1 %{run} %t.aot.out 2>&1 | FileCheck %S/assert.cpp --check-prefixes=CHECK-MESSAGE

0 commit comments

Comments
 (0)