pub trait BroadcastBackend: CommunicationBackend {
// Required method
fn broadcast(
value: Self::Tensor,
root: usize,
group: &Self::CommunicationGroup,
executor: &Self::Executor,
) -> Result<Submission<Self::Tensor, Self::CommunicationCompletion>, Self::CommunicationError>;
}Expand description
Root-to-group publication on an opaque communication group.
Required Methods§
Sourcefn broadcast(
value: Self::Tensor,
root: usize,
group: &Self::CommunicationGroup,
executor: &Self::Executor,
) -> Result<Submission<Self::Tensor, Self::CommunicationCompletion>, Self::CommunicationError>
fn broadcast( value: Self::Tensor, root: usize, group: &Self::CommunicationGroup, executor: &Self::Executor, ) -> Result<Submission<Self::Tensor, Self::CommunicationCompletion>, Self::CommunicationError>
Broadcasts one tensor from an ordered member index.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".