summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/CompileFlags/main.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/CompileFlags/main.cu')
-rw-r--r--Tests/CudaOnly/CompileFlags/main.cu7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tests/CudaOnly/CompileFlags/main.cu b/Tests/CudaOnly/CompileFlags/main.cu
index 573d230..999c056 100644
--- a/Tests/CudaOnly/CompileFlags/main.cu
+++ b/Tests/CudaOnly/CompileFlags/main.cu
@@ -4,11 +4,8 @@
# endif
#endif
-// Check HOST_DEFINE only for nvcc
-#ifndef __CUDA__
-# ifndef HOST_DEFINE
-# error "HOST_DEFINE not defined!"
-# endif
+#ifndef ALWAYS_DEFINE
+# error "ALWAYS_DEFINE not defined!"
#endif
int main()