pub struct SingleStreamAllocator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl StreamAllocator for SingleStreamAllocator
impl StreamAllocator for SingleStreamAllocator
Source§fn acquire(&self, _hints: ActorHints) -> Arc<CudaStream>
fn acquire(&self, _hints: ActorHints) -> Arc<CudaStream>
Acquire a stream for a
KernelActor that’s just starting.Auto Trait Implementations§
impl Freeze for SingleStreamAllocator
impl RefUnwindSafe for SingleStreamAllocator
impl Send for SingleStreamAllocator
impl Sync for SingleStreamAllocator
impl Unpin for SingleStreamAllocator
impl UnsafeUnpin for SingleStreamAllocator
impl UnwindSafe for SingleStreamAllocator
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