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 abbe9e2 commit 9ecbb34Copy full SHA for 9ecbb34
clang/test/CodeGenCUDA/cxx-call-kernel.cpp
@@ -1,5 +1,8 @@
1
-// RUN: %clang_cc1 -x hip -emit-llvm-bc %s -o %t.hip.bc
2
-// RUN: %clang_cc1 -mlink-bitcode-file %t.hip.bc -DHIP_PLATFORM -emit-llvm \
+// REQUIRES: x86-registered-target
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu \
3
+// RUN: -x hip -emit-llvm-bc %s -o %t.hip.bc
4
5
+// RUN: -mlink-bitcode-file %t.hip.bc -DHIP_PLATFORM -emit-llvm \
6
// RUN: %s -o - | FileCheck %s
7
8
#include "Inputs/cuda.h"
0 commit comments