summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/WithC/cuda.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/WithC/cuda.cu')
-rw-r--r--Tests/Cuda/WithC/cuda.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Cuda/WithC/cuda.cu b/Tests/Cuda/WithC/cuda.cu
index 06bd7b9..d1be2d4 100644
--- a/Tests/Cuda/WithC/cuda.cu
+++ b/Tests/Cuda/WithC/cuda.cu
@@ -1,7 +1,7 @@
-#include <cuda.h>
-
#include <iostream>
+#include <cuda.h>
+
extern "C" int use_cuda(void)
{
int nDevices = 0;