externer gemeinsamer Speicher

__global__ void gpuFunc(int *dev_V, int n)
{
  extern __shared__ int s[];
  ...
}

gpuFunc<<<1,n,n*sizeof(int)>>>(dev_V, n);
Arthur Elskens