Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TVMC] Only load extra targets when there are workspace pools
After apache#11427, `tvmc compile` wouldn't work for external codegens that don't have a `Target` registered by `TVM_REGISTER_TARGET_KIND`. Such external codegens can be expected to have no workspace pools and may not always have a target associated as their implementation predates this mechanism. While it is likely a `Target` is specified for all external codegens in the future, we should still support external codegens without an associated `Target` until this is enforced. Change-Id: Ida8bf85ed1cafd301b9465641c66a5370d73c429
- Loading branch information