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/03/08 02:09:16 UTC

[GitHub] [tvm] zhiics commented on a change in pull request #7605: Fix RelayVM for 32-bit platforms

zhiics commented on a change in pull request #7605:
URL: https://github.com/apache/tvm/pull/7605#discussion_r589131082



##########
File path: src/runtime/vm/executable.cc
##########
@@ -525,12 +521,10 @@ void Executable::LoadConstantSection(dmlc::Stream* strm) {
   }
 
   // Load the const to device mapping.
-  std::vector<size_t> const_device_type;
+  std::vector<int64_t> const_device_type;

Review comment:
       to keep consistent with other places, let's just use Index for int64_t for this change, we have created the alias for it already.




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

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