code: def test_large_smem(self):
      n = 4000
      mod = SourceModule(
          """
          #include <stdio.h>
  
          __global__ void kernel(int *d_data)
          {
          __shared__ int sdata[%d];
          sdata[threadIdx.x] = threadIdx.x;
          d_data[threadIdx.x] = sdata[threadIdx.x];
          }
          """
          % n
      )
  
      kernel = mod.get_function("kernel")
  
      import pycuda.gpuarray as gpuarray
  
      arg = gpuarray.zeros((n,), dtype=np.float32)
  
      kernel(
          arg,
          block=(
              1,
              1,
              1,
          ),
      )
  
imports: import numpy
  import numpy.linalg
  from pycuda.tools import mark_cuda_test, dtype_to_ctype
  import pytest
  import pycuda.gpuarray
  import pycuda.driver
  from pycuda.compiler import SourceModule
label_desc: Use image node_id 18 for calling the TestDriver obj's underlying member method code with example usage: obj.test_large_smem() without return types