diff src/test/main.cc @ 291:87128b876c63

add test
author ikkun
date Thu, 09 Feb 2017 19:02:15 +0900
parents 625a19d81ed7
children
line wrap: on
line diff
--- a/src/test/main.cc	Wed Feb 08 18:25:32 2017 +0900
+++ b/src/test/main.cc	Thu Feb 09 19:02:15 2017 +0900
@@ -1,10 +1,13 @@
 #include <stdio.h>
 #include <sys/time.h>
 #include <string.h>
-#include <cuda.h>
-#include <cuda_runtime.h>
 #include <stdlib.h>
 
+extern "C"
+{
+//#include <cuda.h>
+}
+#include <cuda_runtime.h>
 
 #define LENGTH (10)
 #define THREAD (10)