electriclilies commented on a change in pull request #8835:
URL: https://github.com/apache/tvm/pull/8835#discussion_r698698599



##########
File path: include/tvm/target/target.h
##########
@@ -203,5 +204,59 @@ void CheckAndUpdateHostConsistency(Map<Integer, Target>* 
target, Target* host);
  * \param host The Target typed object for target host to be updated
  */
 void CheckAndUpdateHostConsistency(Map<Target, IRModule>* target, Target* 
host);
+
+// TODO(@electriclilies): Move to somewhere in backend and add note about 
appropriate use

Review comment:
       removed!

##########
File path: src/relay/backend/interpreter.cc
##########
@@ -382,8 +386,10 @@ class Interpreter : public ExprFunctor<ObjectRef(const 
Expr& n)>,
 
     // Project out just the function(s) we need.
     IRModule lowered_projected_mod;
-    auto mod_itr = per_target_module_.find(target->str());
-    ICHECK(mod_itr != per_target_module_.end())
+    std::unordered_map<Target, IRModule, TargetStrHash, TargetStrEqual> 
per_target_module_std_map_ =

Review comment:
       done!




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to