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 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...
 

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 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: