You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2020/09/10 02:05:43 UTC

[incubator-tvm] branch master updated: hot fix (#6434)

This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new fdef79d  hot fix (#6434)
fdef79d is described below

commit fdef79d317d455eb5c9e9e86feb97416eb594690
Author: Zhi <51...@users.noreply.github.com>
AuthorDate: Wed Sep 9 19:05:21 2020 -0700

    hot fix (#6434)
---
 src/auto_scheduler/compute_dag.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/auto_scheduler/compute_dag.cc b/src/auto_scheduler/compute_dag.cc
index b9e9af8..7ebed21 100755
--- a/src/auto_scheduler/compute_dag.cc
+++ b/src/auto_scheduler/compute_dag.cc
@@ -35,6 +35,7 @@
 #include <tvm/tir/stmt_functor.h>
 
 #include <algorithm>
+#include <cstdint>
 #include <queue>
 #include <unordered_map>
 #include <unordered_set>
@@ -734,7 +735,7 @@ std::string GetOrigLayout(std::set<std::string>* placeholder_axis_names, const t
   }
 
   std::ostringstream os;
-  uint i = 0;
+  uint32_t i = 0;
   const auto& placeholder_op = placeholder->op;
   CHECK_GT(extractor.read_access.count(placeholder_op), 0);
   for (const auto& ev : extractor.read_access[placeholder_op]) {