pub struct WarpDirectPlan { /* private fields */ }Expand description
Immutable validated plan; one 32-thread block owns one system.
Implementations§
Source§impl WarpDirectPlan
impl WarpDirectPlan
pub const THREADS: u32 = 32
pub fn new( batch: usize, order: usize, rhs: usize, kind: WarpDirectKind, ) -> Result<Self, WarpPlanError>
Sourcepub fn check_device(
&self,
limits: WarpDirectLimits,
) -> Result<(), WarpPlanError>
pub fn check_device( &self, limits: WarpDirectLimits, ) -> Result<(), WarpPlanError>
Empty batches require no launch or plane capability, but shapes remain checked.
pub fn batch(&self) -> usize
pub fn order(&self) -> usize
pub fn rhs(&self) -> usize
pub fn pitch(&self) -> usize
pub fn kind(&self) -> WarpDirectKind
Sourcepub fn logical_global_bytes_per_system(&self) -> usize
pub fn logical_global_bytes_per_system(&self) -> usize
Successful-path logical global payload: A/B loaded once, factors/X stored once, and status/pivots stored once. Excludes allocator, cache-line and compiler-inserted traffic. Does NOT assert actual DRAM bytes transferred.
Trait Implementations§
Source§impl Clone for WarpDirectPlan
impl Clone for WarpDirectPlan
Source§fn clone(&self) -> WarpDirectPlan
fn clone(&self) -> WarpDirectPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WarpDirectPlan
Source§impl Debug for WarpDirectPlan
impl Debug for WarpDirectPlan
impl Eq for WarpDirectPlan
Source§impl PartialEq for WarpDirectPlan
impl PartialEq for WarpDirectPlan
impl StructuralPartialEq for WarpDirectPlan
Auto Trait Implementations§
impl Freeze for WarpDirectPlan
impl RefUnwindSafe for WarpDirectPlan
impl Send for WarpDirectPlan
impl Sync for WarpDirectPlan
impl Unpin for WarpDirectPlan
impl UnsafeUnpin for WarpDirectPlan
impl UnwindSafe for WarpDirectPlan
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