pub struct BlasDispatchCtx<'a> {
pub cublas: &'a Arc<CudaBlas>,
pub stream: &'a Arc<CudaStream>,
pub completion: &'a Arc<dyn CompletionStrategy>,
pub state: &'a Arc<DeviceState>,
}Expand description
Bundle of resources every cuBLAS dispatcher needs to run an op.
Fields§
§cublas: &'a Arc<CudaBlas>§stream: &'a Arc<CudaStream>§completion: &'a Arc<dyn CompletionStrategy>§state: &'a Arc<DeviceState>Auto Trait Implementations§
impl<'a> Freeze for BlasDispatchCtx<'a>
impl<'a> !RefUnwindSafe for BlasDispatchCtx<'a>
impl<'a> Send for BlasDispatchCtx<'a>
impl<'a> Sync for BlasDispatchCtx<'a>
impl<'a> Unpin for BlasDispatchCtx<'a>
impl<'a> UnsafeUnpin for BlasDispatchCtx<'a>
impl<'a> !UnwindSafe for BlasDispatchCtx<'a>
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