Module multicast

Source
Expand description

The comm actor that provides message casting and result accumulation.

Structs§

CastMessage
The is used to start casting a message to a group of actors.
CastMessageEnvelope
An envelope that carries a message destined to a group of actors.
DestinationPort
Destination port id of a message. It is a PortId with the rank masked out, and the messege is always sent to the root actor because only root actor can be accessed externally. The rank is resolved by the destination Selection of the message. We can use DestinationPort::port_id(rank) to get the actual PortId of the message.
Uslice
A union of slices that can be used to represent arbitrary subset of ranks in a gang. It is represented by a Slice together with a Selection. This is used to define the destination of a cast message or the source of accumulation request.

Statics§

CAST_ORIGINATING_SENDER
Used inside headers to store the originating sender of a cast.

Traits§

CastInfo

Functions§

set_cast_info_on_headers