diff options
Diffstat (limited to 'meson/test cases/cuda/5 threads/shared/kernels.cu')
-rw-r--r-- | meson/test cases/cuda/5 threads/shared/kernels.cu | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meson/test cases/cuda/5 threads/shared/kernels.cu b/meson/test cases/cuda/5 threads/shared/kernels.cu new file mode 100644 index 000000000..41a95536f --- /dev/null +++ b/meson/test cases/cuda/5 threads/shared/kernels.cu @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <cuda_runtime.h> +#include "kernels.h" + + +TAG_HIDDEN __global__ void kernel (void){ +} + +TAG_PUBLIC int run_tests(void) { + kernel<<<1,1>>>(); + + return (int)cudaDeviceSynchronize(); +} + |