code: def __init__(self, ctx):
      self.kernel = (
          cl.Program(
              ctx,
              """
          __kernel void transpose(
            __global float *a_t, __global float *a,
            unsigned a_width, unsigned a_height)
          {
            int read_idx = get_global_id(0) + get_global_id(1) * a_width;
            int write_idx = get_global_id(1) + get_global_id(0) * a_height;
  
            a_t[write_idx] = a[read_idx];
          }
          """,
          )
          .build()
          .transpose
      )
  
file_path: pyopencl/examples/transpose.py
imports: import pyopencl
  import numpy
  import numpy.linalg
label_desc: Use image node_id 1 to create a new NaiveTranspose object  with example: obj = NaiveTranspose(ctx)