def require_cuda_ndarray(obj):
    if not is_cuda_ndarray(obj):
        raise ValueError('require an cuda ndarray object')
Verify that the routers specified need to be scheduled.
dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/devicearray.py/require_cuda_ndarray--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/scheduler/l3_agent_scheduler.py/L3Scheduler._get_routers_to_schedule