[Target][Lowering] Update Op Intrinsic Lowering Mechanism And Intrinsic Lowering Pass#7809
[Target][Lowering] Update Op Intrinsic Lowering Mechanism And Intrinsic Lowering Pass#7809junrushao merged 41 commits intoapache:mainfrom
Conversation
|
Python side op lowering function has been changed from |
|
Thanks for the contribution! A few high-level comments:
|
|
Thanks for the advice! I have changed the name of function in python-side to |
|
@junrushao1994 Please review, thanks! |
junrushao
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
junrushao
left a comment
There was a problem hiding this comment.
Please find some further comments :-)
|
note, please do not checkin vta-hw submodule change(do a git submodule update) |
5521ac6 to
a04f2c2
Compare
junrushao
left a comment
There was a problem hiding this comment.
I don't have other comments :-) Thanks for the contribution!
|
@tqchen would you like to take a second look? If there is other comments, I will get it merged the other day |
tqchen
left a comment
There was a problem hiding this comment.
two minor nits mainly on the api and use TypedPackedFunc over PackedFunc. Overall LGTM!
tqchen
left a comment
There was a problem hiding this comment.
Thanks for keep improving the PR! Taking a close look this time. I think we can merge once the current set of comments are addressed
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
…ic Lowering Pass (apache#7809) This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g., llvm.FLowerIntrinsic vs. default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.
This PR updated the intrinsic lowering pass to support the new op registry and avoid overloading the global tvm registry. Meanwhile, it kept the fallback mechanism to find the most suitable lower intrinsic function, e.g.,
llvm.FLowerIntrinsicvs.default.FLowerIntrinsic. All previous op registration are ported to new functions, and some missing ops would be added in separate PR.