'Return the autotuner object associated with this kernel.'

@property
def autotune(self):

    has_autotune = hasattr(self, '_autotune')
    if (has_autotune and (self._autotune.dynsmem == self.sharedmem)):
        return self._autotune
    else:
        cufunc = self._func.get()
        at = AutoTuner(info=cufunc.attrs, cc=cufunc.device.compute_capability)
        self._autotune = at
        return self._autotune
