zxybazh commented on issue #12135: URL: https://github.com/apache/tvm/issues/12135#issuecomment-1195889152
Corrected TIR would not cause the problem, please defined the write buffer for root block as follows: ``` @tvm.script.ir_module class Module: @T.prim_func def bad_message( B: T.Buffer[(64), "float32"], B_pack: T.Buffer[(8, 8), "float32"], ): with T.block("root"): T.reads() T.writes() for jo in range(8): for ji in range(8): with T.block(): vo, vi = T.axis.remap("SS", [jo, ji]) B_pack[vo, vi] = B[vo * 8 + vi] ``` And still the problem lies in bad message for error reporting, would work on that later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org