def METHOD_NAME(self):
    ary = np.arange(10)
    devmem = self.context.mempin(ary, ary.ctypes.data,
                                 ary.size * ary.dtype.itemsize,
                                 mapped=True)
    self._template(devmem)