verbs

package
v0.0.0-...-d1695c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package verbs is a generated protocol buffer package.

It is generated from these files:

tensorflow/contrib/verbs/verbs_service.proto

It has these top-level messages:

Channel
MemoryRegion
GetRemoteAddressRequest
GetRemoteAddressResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVerbsServiceServer

func RegisterVerbsServiceServer(s *grpc.Server, srv VerbsServiceServer)

Types

type Channel

type Channel struct {
	Lid int32  `protobuf:"varint,1,opt,name=lid" json:"lid,omitempty"`
	Qpn int32  `protobuf:"varint,2,opt,name=qpn" json:"qpn,omitempty"`
	Psn int32  `protobuf:"varint,3,opt,name=psn" json:"psn,omitempty"`
	Snp uint64 `protobuf:"varint,4,opt,name=snp" json:"snp,omitempty"`
	Iid uint64 `protobuf:"varint,5,opt,name=iid" json:"iid,omitempty"`
}

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) GetIid

func (m *Channel) GetIid() uint64

func (*Channel) GetLid

func (m *Channel) GetLid() int32

func (*Channel) GetPsn

func (m *Channel) GetPsn() int32

func (*Channel) GetQpn

func (m *Channel) GetQpn() int32

func (*Channel) GetSnp

func (m *Channel) GetSnp() uint64

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

type GetRemoteAddressRequest

type GetRemoteAddressRequest struct {
	HostName string          `protobuf:"bytes,1,opt,name=host_name,json=hostName" json:"host_name,omitempty"`
	Channel  *Channel        `protobuf:"bytes,2,opt,name=channel" json:"channel,omitempty"`
	Mr       []*MemoryRegion `protobuf:"bytes,3,rep,name=mr" json:"mr,omitempty"`
}

func (*GetRemoteAddressRequest) Descriptor

func (*GetRemoteAddressRequest) Descriptor() ([]byte, []int)

func (*GetRemoteAddressRequest) GetChannel

func (m *GetRemoteAddressRequest) GetChannel() *Channel

func (*GetRemoteAddressRequest) GetHostName

func (m *GetRemoteAddressRequest) GetHostName() string

func (*GetRemoteAddressRequest) GetMr

func (m *GetRemoteAddressRequest) GetMr() []*MemoryRegion

func (*GetRemoteAddressRequest) ProtoMessage

func (*GetRemoteAddressRequest) ProtoMessage()

func (*GetRemoteAddressRequest) Reset

func (m *GetRemoteAddressRequest) Reset()

func (*GetRemoteAddressRequest) String

func (m *GetRemoteAddressRequest) String() string

type GetRemoteAddressResponse

type GetRemoteAddressResponse struct {
	HostName string          `protobuf:"bytes,1,opt,name=host_name,json=hostName" json:"host_name,omitempty"`
	Channel  *Channel        `protobuf:"bytes,2,opt,name=channel" json:"channel,omitempty"`
	Mr       []*MemoryRegion `protobuf:"bytes,3,rep,name=mr" json:"mr,omitempty"`
}

func (*GetRemoteAddressResponse) Descriptor

func (*GetRemoteAddressResponse) Descriptor() ([]byte, []int)

func (*GetRemoteAddressResponse) GetChannel

func (m *GetRemoteAddressResponse) GetChannel() *Channel

func (*GetRemoteAddressResponse) GetHostName

func (m *GetRemoteAddressResponse) GetHostName() string

func (*GetRemoteAddressResponse) GetMr

func (m *GetRemoteAddressResponse) GetMr() []*MemoryRegion

func (*GetRemoteAddressResponse) ProtoMessage

func (*GetRemoteAddressResponse) ProtoMessage()

func (*GetRemoteAddressResponse) Reset

func (m *GetRemoteAddressResponse) Reset()

func (*GetRemoteAddressResponse) String

func (m *GetRemoteAddressResponse) String() string

type MemoryRegion

type MemoryRegion struct {
	RemoteAddr uint64 `protobuf:"varint,1,opt,name=remote_addr,json=remoteAddr" json:"remote_addr,omitempty"`
	Rkey       uint32 `protobuf:"varint,2,opt,name=rkey" json:"rkey,omitempty"`
}

func (*MemoryRegion) Descriptor

func (*MemoryRegion) Descriptor() ([]byte, []int)

func (*MemoryRegion) GetRemoteAddr

func (m *MemoryRegion) GetRemoteAddr() uint64

func (*MemoryRegion) GetRkey

func (m *MemoryRegion) GetRkey() uint32

func (*MemoryRegion) ProtoMessage

func (*MemoryRegion) ProtoMessage()

func (*MemoryRegion) Reset

func (m *MemoryRegion) Reset()

func (*MemoryRegion) String

func (m *MemoryRegion) String() string

type VerbsServiceClient

type VerbsServiceClient interface {
	GetRemoteAddress(ctx context.Context, in *GetRemoteAddressRequest, opts ...grpc.CallOption) (*GetRemoteAddressResponse, error)
}

func NewVerbsServiceClient

func NewVerbsServiceClient(cc *grpc.ClientConn) VerbsServiceClient

type VerbsServiceServer

type VerbsServiceServer interface {
	GetRemoteAddress(context.Context, *GetRemoteAddressRequest) (*GetRemoteAddressResponse, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL