def test_num_7():
    content = ak.layout.NumpyArray(np.array([1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9]))
    offsets = ak.layout.IndexU32(np.array([0, 3, 3, 5, 6, 9]))
    array = ak.Array(ak.layout.ListOffsetArrayU32(offsets, content))
    cuda_array = ak.to_kernels(array, 'cuda')
    assert (ak.num(cuda_array, 0) == ak.num(array, 0))
    assert (ak.num(cuda_array, 1).tolist() == ak.num(array, 1).tolist())
def test_num_7():
    content = ak.layout.NumpyArray(np.array([1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9]))
    offsets = ak.layout.IndexU32(np.array([0, 3, 3, 5, 6, 9]))
    array = ak.Array(ak.layout.ListOffsetArrayU32(offsets, content))
    cuda_array = ak.to_kernels(array, 'cuda')
    assert (ak.num(cuda_array, 0) == ak.num(array, 0))
    assert (ak.num(cuda_array, 1).tolist() == ak.num(array, 1).tolist())