mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-14 03:00:47 +05:30
Add tests
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
#include <cstdio>
|
||||
#include "hello.h"
|
||||
|
||||
__host__ void hello(){
|
||||
printf("Hello World!\n");
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#ifndef HELLO_H
|
||||
#define HELLO_H
|
||||
|
||||
void hello();
|
||||
|
||||
#endif
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#include "hello.h"
|
||||
|
||||
int main() {
|
||||
hello();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user