code: def compacted_multi_alloc_func(a: T.handle, d: T.handle) -> None:
      A = T.match_buffer(a, (32), "float32")
      D = T.match_buffer(d, (32), "float32")
  
      for i in range(0, 32):
          with T.block():
              T.reads(A[i])
              T.writes(D[i])
              B = T.alloc_buffer((32,), scope="global")
              C = T.alloc_buffer((32,), scope="global")
              B[i] = A[i] + 1.0
              C[i] = A[i] + B[i]
              D[i] = C[i] * 2.0
  
imports: import tvm
  import tvm.testing
  from tvm import te
  from tvm.script import tir
label_desc: Use image node_id 12 for calling a global function with example usage: compacted_multi_alloc_func(a, d) without return types