aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cuda/2 split/static/libsta.cu
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cuda/2 split/static/libsta.cu')
-rw-r--r--meson/test cases/cuda/2 split/static/libsta.cu13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/cuda/2 split/static/libsta.cu b/meson/test cases/cuda/2 split/static/libsta.cu
new file mode 100644
index 000000000..c0471d048
--- /dev/null
+++ b/meson/test cases/cuda/2 split/static/libsta.cu
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <iostream>
+
+__global__ void kernel (void){
+}
+
+int do_cuda_stuff() {
+ kernel<<<1,1>>>();
+
+ printf("Hello, World!\n");
+ return 0;
+}
+