From 13ffd989cd639abca8856edf4a36ed22ea67a21c Mon Sep 17 00:00:00 2001 From: Zhao Wu Date: Fri, 17 Jan 2020 00:51:53 +0800 Subject: [PATCH] [CPP RPC] Fix the compile problem of cpp_rpc (#4725) --- apps/cpp_rpc/main.cc | 6 +++--- apps/cpp_rpc/rpc_env.cc | 2 +- apps/cpp_rpc/rpc_server.cc | 2 +- apps/cpp_rpc/rpc_tracker_client.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/cpp_rpc/main.cc b/apps/cpp_rpc/main.cc index 3cf2ed6a5d59..ae66bd23ae73 100644 --- a/apps/cpp_rpc/main.cc +++ b/apps/cpp_rpc/main.cc @@ -31,13 +31,13 @@ #include #include -#include "../../src/common/util.h" -#include "../../src/common/socket.h" +#include "../../src/support/util.h" +#include "../../src/support/socket.h" #include "rpc_server.h" using namespace std; using namespace tvm::runtime; -using namespace tvm::common; +using namespace tvm::support; static const string kUSAGE = \ "Command line usage\n" \ diff --git a/apps/cpp_rpc/rpc_env.cc b/apps/cpp_rpc/rpc_env.cc index f7817f5d1d28..844a7af06a37 100644 --- a/apps/cpp_rpc/rpc_env.cc +++ b/apps/cpp_rpc/rpc_env.cc @@ -36,7 +36,7 @@ #include #include "rpc_env.h" -#include "../../src/common/util.h" +#include "../../src/support/util.h" #include "../../src/runtime/file_util.h" namespace tvm { diff --git a/apps/cpp_rpc/rpc_server.cc b/apps/cpp_rpc/rpc_server.cc index 54af956a7be1..1a29421a8ab3 100644 --- a/apps/cpp_rpc/rpc_server.cc +++ b/apps/cpp_rpc/rpc_server.cc @@ -39,7 +39,7 @@ #include "rpc_tracker_client.h" #include "../../src/runtime/rpc/rpc_session.h" #include "../../src/runtime/rpc/rpc_socket_impl.h" -#include "../../src/common/socket.h" +#include "../../src/support/socket.h" namespace tvm { namespace runtime { diff --git a/apps/cpp_rpc/rpc_tracker_client.h b/apps/cpp_rpc/rpc_tracker_client.h index 0852bbbf76bf..dfd576f4c195 100644 --- a/apps/cpp_rpc/rpc_tracker_client.h +++ b/apps/cpp_rpc/rpc_tracker_client.h @@ -32,7 +32,7 @@ #include #include "../../src/runtime/rpc/rpc_session.h" -#include "../../src/common/socket.h" +#include "../../src/support/socket.h" namespace tvm { namespace runtime {