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