code: def test_host_func():
      """Test that host functions are not split."""
      # te schedule copied from test_tir_transform_split_host_device.py
  
      func = tvm.te.create_prim_func(
          te_workload.matmul(
              729, 729, 729, in_dtype="float32", out_dtype="float32"
          )
      )
      mod = tvm.ir.IRModule({"main": func})
      target = tvm.target.Target("cuda")
      mod = tvm.tir.transform.Apply(
          lambda f: f.with_attr(
              {
                  "global_symbol": "test",
                  "tir.is_host_func": 1,
              }
          )
      )(mod)
      mod = tvm.tir.transform.BindTarget(target)(mod)
      tvm.ir.assert_structural_equal(mod, Module)
      assert (
          "tir.is_host_func" not in mod["main"].attrs
      ), """Target and is_host_func attributes should be mutually exclusive"""
  
imports: import tvm
  from tvm.script import ir
  from tvm.script import tir
  from tvm.meta_schedule.testing import te_workload
label_desc: Use image node_id 1 for calling a global function with example usage: test_host_func() without return types