pub struct CachedPlan {
pub signature: u64,
pub op_kind: &'static str,
pub dtype: DtypeTag,
pub workspace_bytes: usize,
pub plan: Option<BackendDescriptor>,
}Expand description
Cached execution-plan handle. On a host without cuDNN this is
just a marker that “this signature was prepared” — the actual
BackendDescriptor lives only on a real GPU build.
Fields§
§signature: u64§op_kind: &'static str§dtype: DtypeTag§workspace_bytes: usize§plan: Option<BackendDescriptor>None on host-only build.
Trait Implementations§
Source§impl Debug for CachedPlan
impl Debug for CachedPlan
impl Send for CachedPlan
Auto Trait Implementations§
impl Freeze for CachedPlan
impl RefUnwindSafe for CachedPlan
impl !Sync for CachedPlan
impl Unpin for CachedPlan
impl UnsafeUnpin for CachedPlan
impl UnwindSafe for CachedPlan
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