Mercurial > hg > Gears > GearsAgda
comparison src/test/main.cc @ 291:87128b876c63
add test
author | ikkun |
---|---|
date | Thu, 09 Feb 2017 19:02:15 +0900 |
parents | 625a19d81ed7 |
children |
comparison
equal
deleted
inserted
replaced
290:625a19d81ed7 | 291:87128b876c63 |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <sys/time.h> | 2 #include <sys/time.h> |
3 #include <string.h> | 3 #include <string.h> |
4 #include <cuda.h> | |
5 #include <cuda_runtime.h> | |
6 #include <stdlib.h> | 4 #include <stdlib.h> |
7 | 5 |
6 extern "C" | |
7 { | |
8 //#include <cuda.h> | |
9 } | |
10 #include <cuda_runtime.h> | |
8 | 11 |
9 #define LENGTH (10) | 12 #define LENGTH (10) |
10 #define THREAD (10) | 13 #define THREAD (10) |
11 | 14 |
12 void | 15 void |