-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIR] Add support for 0-dim buffer #9224
Conversation
given we have 0-rank support in TIR, we can remove these lines to directly lower to 0-rank TIR https://github.com/apache/tvm/blob/main/src/te/operation/create_primfunc.cc#L105-L109. Please check if we can pass this test case https://github.com/apache/tvm/blob/main/tests/python/unittest/test_te_create_primfunc.py#L286-L300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting the bug, LGTM if you could fix the tests.
Overall LGTM, please address comments and get it merged soon |
@vinx13 With https://github.com/apache/tvm/blob/main/src/te/operation/create_primfunc.cc#L105-L109 removed, all tests under |
This PR intends to add support and test cases for 0-dimensional buffer in TVM.
cc: @junrushao1994 @vinx13 @zxybazh