That is why we might want to have a target host field in the device target as 
in the above examples. The split host device pass can pick up the target host 
field and split out the host driving part into a program set to have the 
`target_host`.

Due to the restrictions of the target device(e.g. alloc only happens in host), 
the split host device can be viewed as a Legalization pass from the "virtual 
target"(that allows alloc and launch params calculation to be part of the 
program) to the real device target.





---
[Visit Topic](https://discuss.tvm.ai/t/rfc-tvm-target-specification/6844/18) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/4223ed19c97ffc824487e3f0a3afbc00f50c1626d51b47f86697ca8fc08c7212).

Reply via email to