summaryrefslogtreecommitdiffstats
path: root/test cases/cuda/12 cuda dependency (mixed)/kernel.cu
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cuda/12 cuda dependency (mixed)/kernel.cu')
-rw-r--r--test cases/cuda/12 cuda dependency (mixed)/kernel.cu8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/cuda/12 cuda dependency (mixed)/kernel.cu b/test cases/cuda/12 cuda dependency (mixed)/kernel.cu
new file mode 100644
index 0000000..7daaa68
--- /dev/null
+++ b/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>>>();
+}