pub struct TopologyCommunicationPlan { /* private fields */ }Expand description
Semantic inputs used only while projecting opaque communication descriptors.
Implementations§
Source§impl TopologyCommunicationPlan
impl TopologyCommunicationPlan
Sourcepub fn with_completion_policy(
self,
policy: CommunicationCompletionPolicy,
) -> Self
pub fn with_completion_policy( self, policy: CommunicationCompletionPolicy, ) -> Self
Selects one bounded completion policy for every operation in the manifest.
Sourcepub fn with_session_group(
self,
requirements: CommunicationGroupRequirements,
) -> Self
pub fn with_session_group( self, requirements: CommunicationGroupRequirements, ) -> Self
Requests one group containing every participant in world-rank order.
Session groups are projected before axis groups, so their opaque ID is stable across the set of active Cartesian axes.
Sourcepub const fn session_group_id(&self) -> Option<CollectiveGroupId>
pub const fn session_group_id(&self) -> Option<CollectiveGroupId>
Exact opaque ID assigned to the requested session group.
Sourcepub fn with_tensor_groups(
self,
requirements: CommunicationGroupRequirements,
) -> Self
pub fn with_tensor_groups( self, requirements: CommunicationGroupRequirements, ) -> Self
Requests groups varying the tensor coordinate.
Sourcepub fn tensor_group_id(
&self,
topology: ParallelTopology,
rank: ParallelRankTopology,
) -> Result<Option<CollectiveGroupId>, CommunicationManifestError>
pub fn tensor_group_id( &self, topology: ParallelTopology, rank: ParallelRankTopology, ) -> Result<Option<CollectiveGroupId>, CommunicationManifestError>
Exact opaque tensor-group ID assigned to one rank by this projection plan.
Sourcepub fn with_pipeline_groups(
self,
requirements: CommunicationGroupRequirements,
) -> Self
pub fn with_pipeline_groups( self, requirements: CommunicationGroupRequirements, ) -> Self
Requests groups varying the pipeline coordinate.
Sourcepub fn with_expert_groups(
self,
requirements: CommunicationGroupRequirements,
) -> Self
pub fn with_expert_groups( self, requirements: CommunicationGroupRequirements, ) -> Self
Requests groups varying the expert coordinate.
Sourcepub fn with_data_groups(
self,
requirements: CommunicationGroupRequirements,
) -> Self
pub fn with_data_groups( self, requirements: CommunicationGroupRequirements, ) -> Self
Represents future groups varying the data coordinate.
This is a topology projection facility, not product admission of data parallel execution. Product selection must continue to reject it until its semantics are implemented.
Sourcepub fn with_pipeline_routes(
self,
requirement: CommunicationOperationRequirement,
) -> Result<Self, CommunicationManifestError>
pub fn with_pipeline_routes( self, requirement: CommunicationOperationRequirement, ) -> Result<Self, CommunicationManifestError>
Requests directed routes between adjacent pipeline coordinates.
Trait Implementations§
Source§impl Clone for TopologyCommunicationPlan
impl Clone for TopologyCommunicationPlan
Source§fn clone(&self) -> TopologyCommunicationPlan
fn clone(&self) -> TopologyCommunicationPlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more