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 2022/04/07 18:59:08 UTC

[GitHub] [tvm] shingjan commented on a diff in pull request #10892: [TVMScript] Fixing T.buffer with typed positional arguments other than int32

shingjan commented on code in PR #10892:
URL: https://github.com/apache/tvm/pull/10892#discussion_r845473398


##########
src/printer/tvmscript_printer.cc:
##########
@@ -577,6 +577,9 @@ bool TVMScriptPrinter::IsSimpleBuffer(const Buffer& buf) {
     return false;
   }
   for (const PrimExpr& shp_i : buf->shape) {
+    if (shp_i.dtype() != DataType::Int(32)) {
+      return false;
+    }

Review Comment:
   @MasterJH5574 The initial code change of this PR is to act as a temporary fix to address your [comment](https://github.com/apache/tvm/pull/10789#issuecomment-1079625981) here. 



-- 
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