code: def test_setitem_extended_API_1d(index, value):
      # 1-d array
      x = cupy.arange(10)
      dx = da.from_array(x, chunks=(4, 6))
      dx[index] = value
      x[index] = value
      assert_eq(x, dx.compute())
  
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask
  import dask.array
  from dask.array.utils import assert_eq
  from dask.sizeof import sizeof
label_desc: Use image node_id 12 for calling a global function with example usage: test_setitem_extended_API_1d(index, value) without return types