xref: /Universal-ctags/Units/parser-cuda.r/cuda-sample.d/input.cu (revision adef631472dca9c8df010ec57352289cc422892d)
1 // C with some CUDA extensions.
2 
3 __shared__ float2 array1[];
4 __shared__ __device__ dim3 array2[];
5 __device__ volatile int i1 = 1;
6 __constant__ int i2 = 2;
7 
dev1(float * a,const float * __restrict__ b)8 __device__ void dev1(float * a,const float * __restrict__ b)
9 {
10 }
11 
kernel1(float * a,float * __restrict__ b)12 __global__ void kernel1(float * a,float * __restrict__ b)
13 {
14 
15 }
16 
main()17 int main()
18 {
19 	kernel1<<<1024 * 1024 / 256,256>>>(NULL,NULL);
20 }
21 
22