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/04/19 23:50:38 UTC

[GitHub] [tvm] masahi commented on a diff in pull request #11065: [Hexagon] AoT with LLVM Codegen on Hexagon

masahi commented on code in PR #11065:
URL: https://github.com/apache/tvm/pull/11065#discussion_r853610045


##########
src/runtime/hexagon/rpc/hexagon/rpc_server.cc:
##########
@@ -211,6 +216,7 @@ const tvm::runtime::PackedFunc get_runtime_func(const std::string& name) {
 void reset_device_api() {
   const tvm::runtime::PackedFunc api = get_runtime_func("device_api.hexagon.v2");
   tvm::runtime::Registry::Register("device_api.hexagon", true).set_body(api);
+  tvm::runtime::Registry::Register("device_api.cpu", true).set_body(api);

Review Comment:
   Just curious, why this is necessary? A comment would be nice.



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