In such case we can have
```
GPU_target = [ id: "cuda" ]                // non-composite, no target_host
System_target = [ id: "cuda", id: "cpu" ]  // composite
optimize(E1, GPU_target)                   // func, target
set<pair<func, target_id>> S = legalize(E1, System_target)
for s in S:
  low_level_optimize(s.first, s.second)    // func, target
```
In cases where the (larger) system target is not needed, we could use the same 
target for optimization and legalization.  As a result, all pairs in the set S 
would have the same second element.





---
[Visit Topic](https://discuss.tvm.ai/t/rfc-tvm-target-specification/6844/19) 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/da2a0d54890afd4ded508690f7270ba1d741caee0f63d844ac8adbbc41ee45a1).

Reply via email to