cbalint13 opened a new pull request #7097:
URL: https://github.com/apache/tvm/pull/7097
Latest GCC11 points out a missing header inclusion:
```
[100%] Building CXX object
apps/cpp_rpc/CMakeFiles/tvm_rpc.dir/rpc_server.cc.o
In file included from
/home/cbalint/work/TVM/tvm.marlann/apps/cpp_rpc/rpc_server.cc:40:
/home/cbalint/work/TVM/tvm.marlann/apps/cpp_rpc/rpc_tracker_client.h: In
member function ‘tvm::support::TCPSocket
tvm::runtime::TrackerClient::ConnectWithRetry(int, int)’:
/home/cbalint/work/TVM/tvm.marlann/apps/cpp_rpc/rpc_tracker_client.h:205:25:
error: ‘sleep_for’ is not a member of ‘std::this_thread’
205 |
std::this_thread::sleep_for(std::chrono::seconds(retry_period));
```
In accord with
[sleep_for](https://en.cppreference.com/w/cpp/thread/sleep_for) usage.
@anijain2305 @yzhliu @vinx13 @comaniac please help with the review.
Thank You !
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]