mehrdadh commented on code in PR #13161:
URL: https://github.com/apache/tvm/pull/13161#discussion_r1002207845
##########
python/tvm/contrib/hexagon/build.py:
##########
@@ -689,18 +556,19 @@ def start_server(self):
self._copy_to_remote(lib_dir / item, self._workspace / item)
# Copy libc++ from the toolchain to the workspace
self._copy_libcxx(self._workspace)
- self._device_key = self.HEXAGON_REMOTE_DEVICE_KEY + "." +
str(os.getpid())
+ self._rpc_info["device_key"] = HEXAGON_REMOTE_DEVICE_KEY + "." +
str(os.getpid())
Review Comment:
On simulator, each test initializes an RPC server. `os.getpid()` is used to
distinguished between those server, otherwise one test could connect to an RPC
server (by mistake) that was created before but the shutdown process for it was
already started.
--
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]