code: def test_simple_kernel(self):
      mod = SourceModule(
          """
          __global__ void multiply_them(float *dest, float *a, float *b)
          {
            const int i = threadIdx.x;
            dest[i] = a[i] * b[i];
          }
          """
      )
  
      multiply_them = mod.get_function("multiply_them")
  
      a = np.random.randn(400).astype(np.float32)
      b = np.random.randn(400).astype(np.float32)
  
      dest = np.zeros_like(a)
      multiply_them(
          drv.Out(dest), drv.In(a), drv.In(b), block=(400, 1, 1)
      )
      assert la.norm(dest - a * b) == 0
  
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 2 for calling the TestDriver obj's underlying member method code with example usage: obj.test_simple_kernel() without return types