We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5470ea4 commit 626fe71Copy full SHA for 626fe71
clang/test/Preprocessor/predefined-arch-macros.c
@@ -4325,8 +4325,8 @@
4325
4326
// Begin HIP host tests -----------
4327
4328
-// RUN: %clang -x hip -E -dM %s -o - 2>&1 --offload-host-only \
4329
-// RUN: --offload-arch=gfx803 -target x86_64-unknown-linux \
+// RUN: %clang -x hip -E -dM %s -o - 2>&1 --offload-host-only -nogpulib \
+// RUN: -nogpuinc --offload-arch=gfx803 -target x86_64-unknown-linux \
4330
// RUN: | FileCheck -match-full-lines %s -check-prefixes=CHECK_HIP_HOST
4331
// CHECK_HIP_HOST: #define __AMDGCN_WAVEFRONT_SIZE__ 64
4332
// CHECK_HIP_HOST: #define __AMDGPU__ 1
0 commit comments