Fix failure in test hip-macros.hip
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Fri, 2 Oct 2020 14:32:52 +0000 (10:32 -0400)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Fri, 2 Oct 2020 14:33:32 +0000 (10:33 -0400)
requires amdgpu-registered-target.

clang/test/Driver/hip-macros.hip

index 00dcca1..3105c25 100644 (file)
@@ -1,3 +1,4 @@
+// REQUIRES: clang-driver, amdgpu-registered-target
 // RUN: %clang -E -dM --offload-arch=gfx906 -mwavefrontsize64 \
 // RUN:   --cuda-device-only -nogpuinc -nogpulib \
 // RUN:   %s 2>&1 | FileCheck --check-prefixes=WAVE64 %s