mehrdadh commented on code in PR #12727: URL: https://github.com/apache/tvm/pull/12727#discussion_r966187693
########## 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""" + func = session._rpc.get_function("device_api.hexagon.acquire_resources") + func() + + def _release_device_resources(self): + with self.start_session() as session: + """Call into device to release resources""" Review Comment: same here -- 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-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org