zxybazh commented on code in PR #16039:
URL: https://github.com/apache/tvm/pull/16039#discussion_r1380866561
##########
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 think this is pretty much the same as `set_config` where you can just do
```c++
target.set_config({key, value});
```
Another example can be found here:
https://github.com/apache/tvm/blob/c3ce474dc172c521d7057061fac3b21207e83f0d/src/target/tag.cc#L73-L88
--
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]