manupa-arm commented on a change in pull request #8096:
URL: https://github.com/apache/tvm/pull/8096#discussion_r637039861
##########
File path: src/relay/backend/aot_executor_codegen.cc
##########
@@ -390,8 +518,8 @@ class AOTExecutorCodegen : public ExprVisitor {
}
ICHECK_GE(storage_device_map_.count(expr), 0);
- auto& device_type = storage_device_map_[expr][1];
- auto call_dev_type = device_type[0]->value;
+ auto& device_type = storage_device_map_[expr].dev_types;
+ auto call_dev_type = device_type[0];
Review comment:
Sorry, I did not read it properly
--
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:
[email protected]