Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TRANSFORM] Fix virtual device anaotation issue with BYOC subgraphs
Heterogeneous module partitioned by BYOC has functions nodes without any VirtualDevice definition (having FullyUnconstrained device). Ignoring the device here causes expr_virtual_devices_ being empty when PopVirtualDevice is called assuming above PushVirtualDevice is succeeded. PushVirtualDevice and PopVirtualDevice occurs as pairs across function body, hence it's better to insert the The Virtual Device for Uncontrained and Pop it subsequently.
- Loading branch information