aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu')
-rw-r--r--meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu b/meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu
new file mode 100644
index 000000000..7daaa6839
--- /dev/null
+++ b/meson/test cases/cuda/12 cuda dependency (mixed)/kernel.cu
@@ -0,0 +1,8 @@
+#include <cuda_runtime.h>
+
+__global__ void kernel (void){
+}
+
+void do_cuda_stuff(void) {
+ kernel<<<1,1>>>();
+}