aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cuda/5 threads/shared/kernels.cu
blob: 41a95536fc5a78d99a343cf1bdcb35e5c5cc9ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
}