'*args -- Must be either ctype objects of DevicePointer instances.'

def __call__(self, *args):

    if self.stream:
        streamhandle = self.stream.handle
    else:
        streamhandle = None
    launch_kernel(self.handle, self.griddim, self.blockdim, self.sharedmem, streamhandle, args)
