code: def test_add(target_dir):
      n = te.var("n")
      A = te.placeholder((n,), name="A")
      B = te.placeholder((n,), name="B")
      C = te.compute(A.shape, lambda i: A[i] + B[i], name="C")
      s = te.create_schedule(C.op)
      fadd = tvm.build(s, [A, B, C], "llvm", name="myadd")
  
      fadd.save(os.path.join(target_dir, "add_cpu.o"))
      cc.create_shared(
          os.path.join(target_dir, "add_cpu.so"),
          [os.path.join(target_dir, "add_cpu.o")],
      )
  
imports: import os
  import tvm
  from tvm import te
  from tvm.contrib import cc, utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_add(target_dir) without return types