You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/09/27 17:36:57 UTC

[GitHub] [tvm] syang-ng commented on pull request #9123: [Bugfix] Add nullptr checking for `AttrStmt` with `coproc_uop_scope` attr key

syang-ng commented on pull request #9123:
URL: https://github.com/apache/tvm/pull/9123#issuecomment-928100818


   Hi all, I also discuss this problem in [this post](https://discuss.tvm.apache.org/t/implicit-requirements-on-value-type-of-attrstmt/11147). In short, TVM seems to has an implicit requirement on the value of `AttrStmt`, with some specific keys. And what the document said is the value can be `PrimExpr`, so if we pass a `tir.const(1)` as the value, it will crash during building.


-- 
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-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org