File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3838
3939// Include some standard headers to avoid CUDA headers including them
4040// while some required macros (like __THROW) are in a weird state.
41+ #include < climits>
4142#include < cmath>
4243#include < cstdlib>
4344#include < stdlib.h>
Original file line number Diff line number Diff line change 22// Reported in https://bugs.llvm.org/show_bug.cgi?id=48014
33// /==========================================================================///
44
5- // REQUIRES: nvptx-registered-target, host-supports-cuda
5+ // REQUIRES: nvptx-registered-target
66
7- // RUN: %clang -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
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 %}
89
You can’t perform that action at this time.
0 commit comments