File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1
1
// / Verify the usage of -fsycl-force-target applies to all expected unbundlings
2
2
// RUN: touch %t.o
3
3
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -fsycl-force-target=spir64 \
4
+ // RUN: -target x86_64-unknown-linux-gnu \
4
5
// RUN: %s --sysroot=%S/Inputs/SYCL %t.o -### 2>&1 \
5
6
// RUN: | FileCheck %s -check-prefix=CHECK_FORCE_TARGET
6
7
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen \
8
+ // RUN: -target x86_64-unknown-linux-gnu \
7
9
// RUN: -fsycl-force-target=spir64-unknown-unknown \
8
10
// RUN: %s --sysroot=%S/Inputs/SYCL %t.o -### 2>&1 \
9
11
// RUN: | FileCheck %s -check-prefixes=CHECK_FORCE_TARGET,CHECK_FORCE_TARGET_GEN
10
12
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 \
11
13
// RUN: -fsycl-force-target=spir64 %s \
14
+ // RUN: -target x86_64-unknown-linux-gnu \
12
15
// RUN: --sysroot=%S/Inputs/SYCL %t.o -### 2>&1 \
13
16
// RUN: | FileCheck %s -check-prefixes=CHECK_FORCE_TARGET,CHECK_FORCE_TARGET_CPU
14
17
// CHECK_FORCE_TARGET: clang-offload-bundler{{.*}} "-type=o" "-targets=host-{{.*}},sycl-spir64-unknown-unknown" "-input={{.*}}" "-output={{.*}}" "-output=[[DEVICEOBJECTOUT:.+]]" "-unbundle" "-allow-missing-bundles"
You can’t perform that action at this time.
0 commit comments