Struct DummyBackend::DummyPacket

Nested Relationships

This struct is a nested type of Class DummyBackend.

Struct Documentation

struct switchml::DummyBackend::DummyPacket

A struct that describes the unit of transmission in the dummy backend (The DummyPacket).

A JobSlice is divided by the worker thread to multiple **DummyPacket* structs which then get sent then received using the backend.

Public Members

uint64_t pkt_id

A packet identifier unique only within a job slice. Accessed only by the worker thread that created the message. Can be calculated as packet offset from the job slice divided by the packet size

JobId job_id

The identifier of the job from which this message came from

Numel numel

The number of elements in the packet

DataType data_type

The data type of the elements

void *entries_ptr

Pointer to data that is supposed to be outstanding (in the network)

void *extra_info_ptr

Pointer to extra info that is supposed to be outstanding (in the network)