Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (#94000)
…g run" (#93988)" This reverts commit 6416958067179c2987af0ef4568cd57f98b7e347. Fix bots by using different options.
This commit is contained in:
parent
f46d1463b8
commit
3b81d9d91b
@ -1,10 +1,7 @@
|
||||
// REQUIRES: powerpc-registered-target
|
||||
// REQUIRES: nvptx-registered-target
|
||||
|
||||
//
|
||||
// Verify that CUDA device commands do not get OpenMP flags.
|
||||
//
|
||||
// RUN: not %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \
|
||||
// RUN: %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib -fopenmp=libomp %s 2>&1 \
|
||||
// RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE
|
||||
//
|
||||
// NO-OPENMP-FLAGS-FOR-CUDA-DEVICE: "-cc1" "-triple" "nvptx64-nvidia-cuda"
|
||||
|
@ -2,11 +2,6 @@
|
||||
/// Perform several driver tests for OpenMP offloading
|
||||
///
|
||||
|
||||
// REQUIRES: x86-registered-target
|
||||
// REQUIRES: powerpc-registered-target
|
||||
// REQUIRES: nvptx-registered-target
|
||||
// REQUIRES: amdgpu-registered-target
|
||||
|
||||
/// ###########################################################################
|
||||
|
||||
/// Check -Xopenmp-target uses one of the archs provided when several archs are used.
|
||||
@ -305,6 +300,7 @@
|
||||
// CHECK-EMIT-LLVM-IR-BC: "-cc1"{{.*}}"-triple" "nvptx64-nvidia-cuda"{{.*}}"-emit-llvm-bc"
|
||||
|
||||
// RUN: %clang -### -fopenmp=libomp --offload-arch=sm_89 \
|
||||
// RUN: --no-cuda-version-check \
|
||||
// RUN: -nogpulib %s -o openmp-offload-gpu 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=DRIVER_EMBEDDING %s
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user