How To add on_device for heterogeneous compute with BYOC

I am new here. I have a question about the use of “on device” annotation.

I want to add a BYOC backend to tvm.

I have made a partition to group some callnodes into a function for my BYOC usage.

How to add on_device annotation between BYOC subgraph and tvm internal expression.

Thanks