A bi-directional channel for controler-worker communication. This channel is primarily used to transfer control messages but not data.
More...
#include <session.h>
|
| virtual | ~DiscoChannel ()=default |
| |
| virtual void | Send (const ffi::PackedArgs &args)=0 |
| | Send a packed sequence to the receiver. More...
|
| |
| virtual ffi::PackedArgs | Recv ()=0 |
| | Receive a packed sequence from worker. More...
|
| |
| virtual void | Reply (const ffi::PackedArgs &args)=0 |
| | Reply a packed sequence to the sender. More...
|
| |
| virtual ffi::PackedArgs | RecvReply ()=0 |
| | Receive a reply from the worker. More...
|
| |
A bi-directional channel for controler-worker communication. This channel is primarily used to transfer control messages but not data.
◆ ~DiscoChannel()
| virtual tvm::runtime::DiscoChannel::~DiscoChannel |
( |
| ) |
|
|
virtualdefault |
◆ Recv()
| virtual ffi::PackedArgs tvm::runtime::DiscoChannel::Recv |
( |
| ) |
|
|
pure virtual |
Receive a packed sequence from worker.
◆ RecvReply()
| virtual ffi::PackedArgs tvm::runtime::DiscoChannel::RecvReply |
( |
| ) |
|
|
pure virtual |
Receive a reply from the worker.
◆ Reply()
| virtual void tvm::runtime::DiscoChannel::Reply |
( |
const ffi::PackedArgs & |
args | ) |
|
|
pure virtual |
Reply a packed sequence to the sender.
◆ Send()
| virtual void tvm::runtime::DiscoChannel::Send |
( |
const ffi::PackedArgs & |
args | ) |
|
|
pure virtual |
Send a packed sequence to the receiver.
The documentation for this class was generated from the following file: