summaryrefslogtreecommitdiff
path: root/Tests/HIP/ArchitectureOff/main.hip
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/HIP/ArchitectureOff/main.hip')
-rw-r--r--Tests/HIP/ArchitectureOff/main.hip9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/HIP/ArchitectureOff/main.hip b/Tests/HIP/ArchitectureOff/main.hip
new file mode 100644
index 000000000..9256318cc
--- /dev/null
+++ b/Tests/HIP/ArchitectureOff/main.hip
@@ -0,0 +1,9 @@
+#ifdef __HIP_DEVICE_COMPILE__
+# ifndef __gfx908__
+# error "Passed architecture gfx908, but got something else."
+# endif
+#endif
+
+int main()
+{
+}