def the_work():
    dtype = np.dtype(np.intp)
    with cuda.open_ipc_array(handle, shape=(size // dtype.itemsize), dtype=dtype) as darr:
        return darr.copy_to_host()
def the_work():
    dtype = np.dtype(np.intp)
    with cuda.open_ipc_array(handle, shape=(size // dtype.itemsize), dtype=dtype) as darr:
        return darr.copy_to_host()