pub struct TensorDispatchCtx {
pub handle: Arc<Mutex<SendHandle>>,
pub stream: Arc<CudaStream>,
pub completion: Arc<dyn CompletionStrategy>,
pub plan_cache: Arc<PlanCache>,
pub workspace: Arc<WorkspacePool>,
}Expand description
TensorDispatch is owned by kernel::tensor (Phase 2 cuTENSOR).
Fields§
§handle: Arc<Mutex<SendHandle>>§stream: Arc<CudaStream>§completion: Arc<dyn CompletionStrategy>§plan_cache: Arc<PlanCache>§workspace: Arc<WorkspacePool>Auto Trait Implementations§
impl Freeze for TensorDispatchCtx
impl !RefUnwindSafe for TensorDispatchCtx
impl Send for TensorDispatchCtx
impl Sync for TensorDispatchCtx
impl Unpin for TensorDispatchCtx
impl UnsafeUnpin for TensorDispatchCtx
impl !UnwindSafe for TensorDispatchCtx
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