pub struct BatchedGemmDescriptor {
pub m: i32,
pub n: i32,
pub k: i32,
pub batch_count: i32,
pub layout: LayoutSku,
pub epilogue: EpilogueKind,
}Expand description
Problem shape and configuration handed to
BatchedGemmPlan::select.
All batches share the same (M, N, K) and per-batch operands are
addressed by adding i * stride_* (in elements) to the base
pointer — see BatchedGemmArgs. For variable-shape grouped
problems use GroupedGemmPlan instead.
Fields§
§m: i32Output row count (per batch).
n: i32Output column count (per batch).
k: i32Reduction depth (per batch).
batch_count: i32Number of batches launched in a single kernel invocation.
layout: LayoutSkuLayout SKU. v1 supports only LayoutSku::Rcr.
epilogue: EpilogueKindEpilogue kind. v1 supports only EpilogueKind::Identity.
Trait Implementations§
Source§impl Clone for BatchedGemmDescriptor
impl Clone for BatchedGemmDescriptor
Source§fn clone(&self) -> BatchedGemmDescriptor
fn clone(&self) -> BatchedGemmDescriptor
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 BatchedGemmDescriptor
Auto Trait Implementations§
impl Freeze for BatchedGemmDescriptor
impl RefUnwindSafe for BatchedGemmDescriptor
impl Send for BatchedGemmDescriptor
impl Sync for BatchedGemmDescriptor
impl Unpin for BatchedGemmDescriptor
impl UnsafeUnpin for BatchedGemmDescriptor
impl UnwindSafe for BatchedGemmDescriptor
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