File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed
offload/test/offloading/CUDA Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
1
+ // clang-format off
2
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
2
3
// RUN: %t | %fcheck-generic
3
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
5
// RUN: %t | %fcheck-generic
6
+ // clang-format on
5
7
6
8
// UNSUPPORTED: aarch64-unknown-linux-gnu
7
9
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
Original file line number Diff line number Diff line change 1
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
1
+ // clang-format off
2
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
2
3
// RUN: %t | %fcheck-generic
3
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
5
// RUN: %t | %fcheck-generic
6
+ // clang-format on
5
7
6
8
// UNSUPPORTED: aarch64-unknown-linux-gnu
7
9
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
Original file line number Diff line number Diff line change 1
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
1
+ // clang-format off
2
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
2
3
// RUN: %t | %fcheck-generic
3
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
4
5
// RUN: %t | %fcheck-generic
6
+ // clang-format on
5
7
6
8
// UNSUPPORTED: aarch64-unknown-linux-gnu
7
9
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
Original file line number Diff line number Diff line change 1
1
// clang-format off
2
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t.launch_tu.o -c
3
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native -x cuda %S/kernel_tu.cu.inc -o %t.kernel_tu.o -c
4
- // RUN: %clang++ -foffload-via-llvm --offload-arch=native %t.launch_tu.o %t.kernel_tu.o -o %t
2
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t.launch_tu.o -c
3
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native -x cuda %S/kernel_tu.cu.inc -o %t.kernel_tu.o -c
4
+ // RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %t.launch_tu.o %t.kernel_tu.o -o %t
5
5
// RUN: %t | %fcheck-generic
6
6
// clang-format on
7
7
You can’t perform that action at this time.
0 commit comments