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/08 16:40:27 UTC

[GitHub] [tvm] mehrdadh commented on a diff in pull request #12727: [Hexagon] [runtime] Improve runtime resource management

mehrdadh commented on code in PR #12727:
URL: https://github.com/apache/tvm/pull/12727#discussion_r966186024


##########
python/tvm/contrib/hexagon/build.py:
##########
@@ -149,6 +149,18 @@ def stop_server(self):
         """Stop the RPC server"""
         ...
 
+    def _acquire_device_resources(self):
+        with self.start_session() as session:
+            """Call into device to initialize objects to acquire resources"""

Review Comment:
   maybe move it to the beginning of the function?



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