You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by kp...@apache.org on 2022/07/30 17:48:04 UTC
[tvm] branch main updated: [Relay][VM] Fix an ICHECK which never fails in ctor of VMFunction (#12241)
This is an automated email from the ASF dual-hosted git repository.
kparzysz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new c0a3da84bc [Relay][VM] Fix an ICHECK which never fails in ctor of VMFunction (#12241)
c0a3da84bc is described below
commit c0a3da84bcc801e21d8e4dfc68a68665977d8912
Author: Twice <tw...@apache.org>
AuthorDate: Sun Jul 31 01:47:58 2022 +0800
[Relay][VM] Fix an ICHECK which never fails in ctor of VMFunction (#12241)
---
include/tvm/runtime/vm/vm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tvm/runtime/vm/vm.h b/include/tvm/runtime/vm/vm.h
index e58fe5eeb3..f58df7d5af 100644
--- a/include/tvm/runtime/vm/vm.h
+++ b/include/tvm/runtime/vm/vm.h
@@ -94,7 +94,7 @@ struct VMFunction {
instructions(std::move(instructions)),
register_file_size(register_file_size),
param_device_indexes(std::move(param_device_indexes)) {
- ICHECK_EQ(params.size(), param_device_indexes.size());
+ ICHECK_EQ(this->params.size(), this->param_device_indexes.size());
}
VMFunction() = default;