-
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 Printer bugs #6413
Comments
@spectrometerHBH you can reproduce with
|
Thanks for your suggestion! @xqdan Is your codebase up-to-date? It seems to me that the source file you referenced is different from that of mainline. |
@spectrometerHBH thanks! I checkout latest version, looks good now, close this now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking. You are always welcomed to post on the forum first :)
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
For bug reports, to help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
For feature proposals, list clear, small actionable items so we can track the progress of the change.
Hi,
I am trying to use tir printer to dump ir for each pass:
1, check failed for local buffer
https://github.com/apache/incubator-tvm/blob/82d157f0b83ae17fde7bbfca14110aa2f2b80b61/src/printer/tir_text_printer.cc#L196
such as: buffer(result.shared_LLB, 0x11b7170), which is not in buffer_map
2, so I comment this, then I find ir dump for 01_tir.InjectPrefetch.ir, missing buffer for a store name, which looks werid:
3, is this an extra ')' here ?
https://github.com/apache/incubator-tvm/blob/82d157f0b83ae17fde7bbfca14110aa2f2b80b61/src/printer/tir_text_printer.cc#L304
for load , what we print is
fmap_l1[(((i1*896) + (i2*16)) + i3)] = (float16*)feature_map.shared_LLB[(((i1*896) + (i2*16)) + i3)])
-> extra ')'The text was updated successfully, but these errors were encountered: