File tree 2 files changed +2
-9
lines changed 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
- // REQUIRES: powerpc-registered-target
2
- // REQUIRES: nvptx-registered-target
3
-
4
1
//
5
2
// Verify that CUDA device commands do not get OpenMP flags.
6
3
//
7
- // RUN: not %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \
4
+ // RUN: %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib -fopenmp=libomp %s 2>&1 \
8
5
// RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE
9
6
//
10
7
// NO-OPENMP-FLAGS-FOR-CUDA-DEVICE: "-cc1" "-triple" "nvptx64-nvidia-cuda"
Original file line number Diff line number Diff line change 2
2
/// Perform several driver tests for OpenMP offloading
3
3
///
4
4
5
- // REQUIRES: x86-registered-target
6
- // REQUIRES: powerpc-registered-target
7
- // REQUIRES: nvptx-registered-target
8
- // REQUIRES: amdgpu-registered-target
9
-
10
5
/// ###########################################################################
11
6
12
7
/// Check -Xopenmp-target uses one of the archs provided when several archs are used.
305
300
// CHECK-EMIT-LLVM-IR-BC: "-cc1"{{.*}}"-triple" "nvptx64-nvidia-cuda"{{.*}}"-emit-llvm-bc"
306
301
307
302
// RUN: %clang -### -fopenmp=libomp --offload-arch=sm_89 \
303
+ // RUN: --no-cuda-version-check \
308
304
// RUN: -nogpulib %s -o openmp-offload-gpu 2>&1 \
309
305
// RUN: | FileCheck -check-prefix=DRIVER_EMBEDDING %s
310
306
You can’t perform that action at this time.
0 commit comments