Lunderberg commented on code in PR #12727:
URL: https://github.com/apache/tvm/pull/12727#discussion_r966186207
##########
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:
Linting help: If applicable to the entire function, this string should be
moved one line higher, so that it is the docstring of the function. If
applicable only to this `with` scope, it should be a comment instead of a
string literal.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]