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/12/15 21:01:09 UTC

[GitHub] [tvm] cbalint13 commented on a diff in pull request #13624: [BugFix][UMA] Protect target registration

cbalint13 commented on code in PR #13624:
URL: https://github.com/apache/tvm/pull/13624#discussion_r1050131591


##########
src/relay/backend/contrib/uma/targets.cc:
##########
@@ -62,16 +61,23 @@ TVM_REGISTER_GLOBAL("relay.backend.contrib.uma.RegisterTarget")
                                         relay::contrib::uma::RelayToTIR(target_name))
               .set_attr<FTVMTIRToRuntime>("TIRToRuntime", relay::contrib::uma::TIRToRuntime);
 
+      // target kind attrs inventory
+      auto kind = ::tvm::TargetKind::Get(target_name).value();

Review Comment:
   Removed all such occurrence.



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