pub struct CommThread { /* private fields */ }Expand description
Dedicated communication thread for async AllReduce.
Owns Arc<Device> and Arc<Queue> for its GPU — can poll and write_buffer.
Implementations§
Auto Trait Implementations§
impl Freeze for CommThread
impl !RefUnwindSafe for CommThread
impl Send for CommThread
impl Sync for CommThread
impl Unpin for CommThread
impl UnsafeUnpin for CommThread
impl !UnwindSafe for CommThread
Blanket Implementations§
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