tvm
Public Member Functions | List of all members
tvm::runtime::DiscoChannel Class Referenceabstract

A bi-directional channel for controler-worker communication. This channel is primarily used to transfer control messages but not data. More...

#include <session.h>

Collaboration diagram for tvm::runtime::DiscoChannel:

Public Member Functions

virtual ~DiscoChannel ()=default
 
virtual void Send (const TVMArgs &args)=0
 Send a packed sequence to the receiver. More...
 
virtual TVMArgs Recv ()=0
 Receive a packed sequence from worker. More...
 
virtual void Reply (const TVMArgs &args)=0
 Reply a packed sequence to the sender. More...
 
virtual TVMArgs RecvReply ()=0
 Receive a reply from the worker. More...
 

Detailed Description

A bi-directional channel for controler-worker communication. This channel is primarily used to transfer control messages but not data.

Constructor & Destructor Documentation

◆ ~DiscoChannel()

virtual tvm::runtime::DiscoChannel::~DiscoChannel ( )
virtualdefault

Member Function Documentation

◆ Recv()

virtual TVMArgs tvm::runtime::DiscoChannel::Recv ( )
pure virtual

Receive a packed sequence from worker.

◆ RecvReply()

virtual TVMArgs tvm::runtime::DiscoChannel::RecvReply ( )
pure virtual

Receive a reply from the worker.

◆ Reply()

virtual void tvm::runtime::DiscoChannel::Reply ( const TVMArgs args)
pure virtual

Reply a packed sequence to the sender.

◆ Send()

virtual void tvm::runtime::DiscoChannel::Send ( const TVMArgs args)
pure virtual

Send a packed sequence to the receiver.


The documentation for this class was generated from the following file: