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
23// 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
45// RUN: %t | %fcheck-generic
6+ // clang-format on
57
68// UNSUPPORTED: aarch64-unknown-linux-gnu
79// 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
23// 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
45// RUN: %t | %fcheck-generic
6+ // clang-format on
57
68// UNSUPPORTED: aarch64-unknown-linux-gnu
79// 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
23// 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
45// RUN: %t | %fcheck-generic
6+ // clang-format on
57
68// UNSUPPORTED: aarch64-unknown-linux-gnu
79// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
Original file line number Diff line number Diff line change 11// 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
55// RUN: %t | %fcheck-generic
66// clang-format on
77
You can’t perform that action at this time.
0 commit comments