Debian Codegraph @

clang/test/Headers/cuda_with_openmp.cu

raw
1 // Test using -x cuda -fopenmp does not clash integrated headers.
2 // Reported in https://bugs.llvm.org/show_bug.cgi?id=48014
3 ///==========================================================================///
4
5 // REQUIRES: nvptx-registered-target
6
7 // RUN: %if x86-registered-target %{ %clang -target x86_64-unknown-linux -x cuda -fopenmp -c %s -o - --cuda-path=%S/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem %S/Inputs/include -isystem %S/../../lib/Headers -fsyntax-only %}
8 // RUN: %if systemz-registered-target %{ %clang -target s390x-ibm-zos -x cuda -fopenmp -c %s -o - --cuda-path=%S/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem %S/Inputs/include -isystem %S/../../lib/Headers -fsyntax-only %}
9