code: def permute(self, x):
      return gpuarray.take(x, self.new2old_fetch_indices)
  
file_path: pycuda/pycuda/sparse/packeted.py
imports: from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  from pytools import memoize_method
  import pycuda.gpuarray
  from pycuda.compiler import SourceModule
  import numpy
label_desc: Use image node_id 7 for calling the PacketedSpMV obj's underlying member method code with example usage: obj.permute(x) and returns: gpuarray