code: def transpose(src):
      w, h = src.shape
  
      result = gpuarray.empty((h, w), dtype=src.dtype)
      _transpose(result, src)
      return result
  
file_path: pycuda/examples/from-wiki/matrix_transpose.py
imports: import pycuda.driver
  import pycuda.gpuarray
  import pycuda.autoinit
  from pycuda.compiler import SourceModule
  import numpy
  import numpy.linalg
  from pycuda.tools import context_dependent_memoize
label_desc: Use image node_id 4 for calling a global function with example usage: transpose(src) and returns: result