diff options
Diffstat (limited to 'meson/test cases/cuda/2 split/static/lib.cu')
-rw-r--r-- | meson/test cases/cuda/2 split/static/lib.cu | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/cuda/2 split/static/lib.cu b/meson/test cases/cuda/2 split/static/lib.cu new file mode 100644 index 000000000..c0471d048 --- /dev/null +++ b/meson/test cases/cuda/2 split/static/lib.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; +} + |