def METHOD_NAME(use_block_name, use_buffer_name):
    func = element_wise
    s = tir.Schedule(func, debug_mask='all')
    s.set_scope('B' if use_block_name else s.get_block("B"), 'B' if use_buffer_name else 0, "shared")
    assert_structural_equal_ignore_global_symbol(element_wise_set_scope, s.mod["main"])
    verify_trace_roundtrip(sch=s, mod=func)