You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/29 21:48:15 UTC

[GitHub] [tvm] areusch commented on a diff in pull request #12509: [Target] Add target_device_type attribute to override default device_type

areusch commented on code in PR #12509:
URL: https://github.com/apache/tvm/pull/12509#discussion_r956189665


##########
include/tvm/target/target_kind.h:
##########
@@ -102,7 +102,7 @@ class TargetKindNode : public Object {
 
   void VisitAttrs(AttrVisitor* v) {
     v->Visit("name", &name);
-    v->Visit("device_type", &device_type);
+    v->Visit("default_device_type", &default_device_type);

Review Comment:
   @mousius yeah it's more like just keeping everything together right now. when i get a moment i'll do the tvm dev tools refactor and move it somewhere more sensible :)



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org