cubackend

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CuServer

type CuServer struct {
	backend.BackendUnsupported
}

CuServer is a non-functional stub on platforms without RDMA support.

func New

func New(opts CuServerOpts, be backend.Backend) (*CuServer, error)

New always returns an unsupported-platform error on this build.

type CuServerOpts

type CuServerOpts struct {
	// RDMAIP is the server IP address for the RDMA interface.
	RDMAIP string
	// RDMAPort is the server port for the RDMA interface.
	RDMAPort uint16

	// Pool configuration
	PoolBufSize  int // Size of each RDMA buffer (default: 1 GiB)
	PoolBufCount int // Number of RDMA buffers to pre-allocate (default: 4)

	// RDMATunables configures low-level RDMA connection parameters applied
	// before the session starts. If nil, cuObjServer library defaults are
	// used. Use rdma.DefaultRDMATunables() as a starting point.
	RDMATunables *rdma.RDMATunables
}

CuServerOpts configures the CuServer backend.

Jump to

Keyboard shortcuts

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