code: def test_matmul_reindex_write(use_block_name, use_buffer_name):
      sch = tir.Schedule(matmul)
      block = "matmul" if use_block_name else sch.get_block("matmul")
      buf = "C" if use_buffer_name else ("write", 0)
      sch.reindex(block, buf)
      assert_structural_equal_ignore_global_symbol(
          matmul_reindex_write, sch.mod["main"]
      )
      verify_trace_roundtrip(sch=sch, mod=matmul)
  
imports: import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.script import tir
  from tvm.tir.schedule.schedule import ScheduleError
  from tvm.tir.schedule.testing import assert_structural_equal_ignore_global_symbol, verify_trace_roundtrip
label_desc: Use image node_id 16 for calling a global function with example usage: test_matmul_reindex_write(use_block_name, use_buffer_name) without return types