pub struct RayonComm { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Communicator for RayonComm
impl Communicator for RayonComm
Source§type SendHandle = LocalSendHandle
type SendHandle = LocalSendHandle
Handle returned by
isend.Source§type RecvHandle = LocalRecvHandle
type RecvHandle = LocalRecvHandle
Handle returned by
irecv.fn isend(&self, peer: usize, tag: u16, buf: &[u8]) -> Self::SendHandle
fn irecv(&self, peer: usize, tag: u16, buf: &mut [u8]) -> Self::RecvHandle
Source§fn isend_result(
&self,
peer: usize,
tag: u16,
buf: &[u8],
) -> Result<Self::SendHandle, MeshSieveError>
fn isend_result( &self, peer: usize, tag: u16, buf: &[u8], ) -> Result<Self::SendHandle, MeshSieveError>
Fallible send initiation for backends that can error.
Source§fn irecv_result(
&self,
peer: usize,
tag: u16,
buf: &mut [u8],
) -> Result<Self::RecvHandle, MeshSieveError>
fn irecv_result( &self, peer: usize, tag: u16, buf: &mut [u8], ) -> Result<Self::RecvHandle, MeshSieveError>
Fallible receive initiation for backends that can error.
Source§fn is_no_comm(&self) -> bool
fn is_no_comm(&self) -> bool
Returns true if this communicator is NoComm (for test logic)
Source§fn barrier_result(&self) -> Result<(), MeshSieveError>
fn barrier_result(&self) -> Result<(), MeshSieveError>
Fallible barrier for backends that can error.
Source§fn broadcast(&self, root: usize, buf: &mut [u8])
fn broadcast(&self, root: usize, buf: &mut [u8])
Broadcast a byte buffer from
root to all ranks.Source§fn broadcast_result(
&self,
root: usize,
buf: &mut [u8],
) -> Result<(), MeshSieveError>
fn broadcast_result( &self, root: usize, buf: &mut [u8], ) -> Result<(), MeshSieveError>
Fallible broadcast for backends that can error.
Source§fn allreduce_sum(&self, values: &mut [u64])
fn allreduce_sum(&self, values: &mut [u64])
All-reduce sum for
u64 buffers.Source§fn allreduce_sum_result(&self, values: &mut [u64]) -> Result<(), MeshSieveError>
fn allreduce_sum_result(&self, values: &mut [u64]) -> Result<(), MeshSieveError>
Fallible all-reduce for backends that can error.
Source§fn allgather(&self, sendbuf: &[u8], recvbuf: &mut [u8])
fn allgather(&self, sendbuf: &[u8], recvbuf: &mut [u8])
All-gather fixed-size byte buffers into
recvbuf (rank-major order).Source§fn allgather_result(
&self,
sendbuf: &[u8],
recvbuf: &mut [u8],
) -> Result<(), MeshSieveError>
fn allgather_result( &self, sendbuf: &[u8], recvbuf: &mut [u8], ) -> Result<(), MeshSieveError>
Fallible all-gather for backends that can error.
Source§fn reserve_tag_range(&self, n: u16) -> Result<CommTag, MeshSieveError>
fn reserve_tag_range(&self, n: u16) -> Result<CommTag, MeshSieveError>
Reserve a contiguous range of tags for this communicator. Read more
Auto Trait Implementations§
impl Freeze for RayonComm
impl RefUnwindSafe for RayonComm
impl Send for RayonComm
impl Sync for RayonComm
impl Unpin for RayonComm
impl UnsafeUnpin for RayonComm
impl UnwindSafe for RayonComm
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more