Commit ff1790a
committed
[REFACTOR][RUNTIME][RPC] Move minrpc/ into src/runtime/rpc/minrpc/
minrpc implements a minimal RPC protocol that shares rpc_reference.h
with the standard RPC transport in src/runtime/rpc/. Nesting minrpc/
under rpc/ makes that structural relationship explicit on the file
system and removes it from the runtime top-level.
Changes:
- src/runtime/minrpc/ → src/runtime/rpc/minrpc/ (3 files + posix_popen_server/)
- rpc_endpoint.h, rpc_session.h: "../minrpc/rpc_reference.h" → "minrpc/rpc_reference.h"
- disco/protocol.h, process_session.cc, threaded_session.cc:
"../minrpc/rpc_reference.h" → "../rpc/minrpc/rpc_reference.h"
- hexagon/rpc/{hexagon,simulator}/rpc_server.cc:
"../../../minrpc/minrpc_server.h" → "../../../rpc/minrpc/minrpc_server.h"
- CMakeLists.txt: RUNTIME_SRCS glob src/runtime/minrpc/*.cc → src/runtime/rpc/minrpc/*.cc
- cmake/modules/Hexagon.cmake: two explicit header list entries updated
- python/tvm/rpc/minrpc.py: path constant for -I flag and server.cc source
updated from src/runtime/minrpc to src/runtime/rpc/minrpc
Header guards in minrpc_server.h and rpc_reference.h already encode
TVM_RUNTIME_MINRPC_*, which remain correct after the move.1 parent ad3eb5a commit ff1790a
13 files changed
Lines changed: 11 additions & 11 deletions
File tree
- cmake/modules
- python/tvm/rpc
- src/runtime
- disco
- hexagon/rpc
- hexagon
- simulator
- rpc
- minrpc
- posix_popen_server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
File renamed without changes.
0 commit comments