code: def pack_rows():
      code = (
          pack()
          + r"""
  __global__ void pack_rows(float *a, unsigned int *b, int size) {
      int i = blockIdx.x * blockDim.x + threadIdx.x;
  
      if (i < size) {
          b[i] = pack(&a[i * 32]);
      }
  }
  """
      )
  
      module = SourceModule(code)
      kernel = module.get_function("pack_rows")
      sig = "2P I"
      kernel.prepare(sig)
      return kernel
  
file_path: neon/neon/backends/kernels/cuda/binary.py
imports: from pycuda.compiler import SourceModule
  from pycuda.tools import context_dependent_memoize
label_desc: Use image node_id 3 for calling a global function with example usage: pack_rows() and returns: kernel