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()17int main() 18 { 19 kernel1<<<1024 * 1024 / 256,256>>>(NULL,NULL); 20 } 21 22