Ubospica commented on code in PR #16039:
URL: https://github.com/apache/tvm/pull/16039#discussion_r1382714318


##########
include/tvm/target/tag.h:
##########
@@ -131,6 +137,11 @@ inline TargetTagRegEntry& 
TargetTagRegEntry::set_config(Map<String, ObjectRef> c
   return *this;
 }
 
+inline TargetTagRegEntry& TargetTagRegEntry::add_config(String key, ObjectRef 
value) {

Review Comment:
   I see. But the problem here is using set_config will **substitute** the 
whole config map instread of adding new items. And for macro 
TVM_REGISTER_CUDA_TAG, a config is already added. 
   
   So maybe we need to find a method to add an additional config?



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