summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/WithDefs/main.notcu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/WithDefs/main.notcu')
-rw-r--r--Tests/CudaOnly/WithDefs/main.notcu4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CudaOnly/WithDefs/main.notcu b/Tests/CudaOnly/WithDefs/main.notcu
index 80ed3a5..d2eff3f 100644
--- a/Tests/CudaOnly/WithDefs/main.notcu
+++ b/Tests/CudaOnly/WithDefs/main.notcu
@@ -2,6 +2,10 @@
#include <cuda_runtime.h>
#include <iostream>
+#ifndef HOST_DEFINE
+#error "HOST_DEFINE not defined!"
+#endif
+
#ifndef PACKED_DEFINE
#error "PACKED_DEFINE not defined!"
#endif