code: def test_cumreduction_with_cupy(func):
      a = cupy.ones((10, 10))
      b = da.from_array(a, chunks=(4, 4))
      result = func(b, axis=0)
      assert_eq(result, func(a, axis=0))
  
file_path: dask/dask/array/tests/test_cupy_reductions.py
imports: from __future__ import annotations
  import warnings
  import numpy
  import pytest
  import dask
  import dask.array
  from dask.array.utils import assert_eq
label_desc: Use image node_id 3 for calling a global function with example usage: test_cumreduction_with_cupy(func) without return types