[Offload] Add the right paths to the CUDA lit tests (#102997)
This commit is contained in:
committed by
GitHub
parent
70cf58e6c1
commit
3f9c9acedd
@@ -1,7 +1,9 @@
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// clang-format off
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// RUN: %t | %fcheck-generic
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %t | %fcheck-generic
|
||||
// clang-format on
|
||||
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// clang-format off
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// RUN: %t | %fcheck-generic
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %t | %fcheck-generic
|
||||
// clang-format on
|
||||
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// clang-format off
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t
|
||||
// RUN: %t | %fcheck-generic
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t -fopenmp
|
||||
// RUN: %t | %fcheck-generic
|
||||
// clang-format on
|
||||
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu
|
||||
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// clang-format off
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t.launch_tu.o -c
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native -x cuda %S/kernel_tu.cu.inc -o %t.kernel_tu.o -c
|
||||
// RUN: %clang++ -foffload-via-llvm --offload-arch=native %t.launch_tu.o %t.kernel_tu.o -o %t
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %s -o %t.launch_tu.o -c
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native -x cuda %S/kernel_tu.cu.inc -o %t.kernel_tu.o -c
|
||||
// RUN: %clang++ %flags -foffload-via-llvm --offload-arch=native %t.launch_tu.o %t.kernel_tu.o -o %t
|
||||
// RUN: %t | %fcheck-generic
|
||||
// clang-format on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user