Uh oh!
There was an error while loading. Please reload this page.
[Target] Target Tags, Composite Target and Unified Interface - #6369
Conversation
junrushao
commented
Sep 6, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
junrushao
commented
Sep 8, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
junrushao
commented
Sep 9, 2020
tqchen
commented
Sep 9, 2020
@junrushao1994 please rebase and resolve the conflicts |
junrushao
commented
Sep 9, 2020
Blocked by the windows built. Hot fix is here: #6434 |
* Add `set_attr_preprocessor` to TargetKind registry, which is used to pre-process attribute maps. * Use `set_attr_preprocessor` for NVPTX and ROCm backend to check and add mcpu and mtriple. * Add TargetTag registration and retrieval on C++ side and python side. Allow creation of Target using the tag name. * Unify target creation on C++ side, replace Target::Create and Target::FromConfig with the constructor. * Unify target creation on python side, deprecate tvm.target.create and encourage direct use of the constructor of tvm.target.Target instead. * Add initial support for composite target.
junrushao
commented
Sep 10, 2020
@tqchen CI is green. Would you like to take another look? Thanks! |
tqchen
commented
Sep 10, 2020
Thanks @junrushao1994@comaniac |
* Add `set_attr_preprocessor` to TargetKind registry, which is used to pre-process attribute maps. * Use `set_attr_preprocessor` for NVPTX and ROCm backend to check and add mcpu and mtriple. * Add TargetTag registration and retrieval on C++ side and python side. Allow creation of Target using the tag name. * Unify target creation on C++ side, replace Target::Create and Target::FromConfig with the constructor. * Unify target creation on python side, deprecate tvm.target.create and encourage direct use of the constructor of tvm.target.Target instead. * Add initial support for composite target.
* Add `set_attr_preprocessor` to TargetKind registry, which is used to pre-process attribute maps. * Use `set_attr_preprocessor` for NVPTX and ROCm backend to check and add mcpu and mtriple. * Add TargetTag registration and retrieval on C++ side and python side. Allow creation of Target using the tag name. * Unify target creation on C++ side, replace Target::Create and Target::FromConfig with the constructor. * Unify target creation on python side, deprecate tvm.target.create and encourage direct use of the constructor of tvm.target.Target instead. * Add initial support for composite target.
* Add `set_attr_preprocessor` to TargetKind registry, which is used to pre-process attribute maps. * Use `set_attr_preprocessor` for NVPTX and ROCm backend to check and add mcpu and mtriple. * Add TargetTag registration and retrieval on C++ side and python side. Allow creation of Target using the tag name. * Unify target creation on C++ side, replace Target::Create and Target::FromConfig with the constructor. * Unify target creation on python side, deprecate tvm.target.create and encourage direct use of the constructor of tvm.target.Target instead. * Add initial support for composite target.
set_attr_preprocessorto TargetKind registry, which is used to pre-process attribute maps. For exmaple, addmtripleautomatically.set_attr_preprocessorfor NVPTX and ROCm backend.Target::CreateandTarget::FromConfigwith the constructor.tvm.target.createand encourage direct use of the constructor oftvm.target.Targetinstead.