pub struct DsaSelectGeometry {
pub seq: usize,
pub q_rows: usize,
pub n_pools_full: usize,
pub n_pools: usize,
pub select_k: usize,
pub out_width: usize,
pub topk_np2: usize,
pub topk_smem: usize,
pub index_head_dim: usize,
pub index_heads: usize,
pub index_kpool: usize,
}Expand description
2026-09-25: Launch geometry for one selection pass, computed by Self::plan before any
launch.
Fields§
§seq: usize2026-09-25: Tokens resident in the indexer cache.
q_rows: usize2026-09-25: Query rows in this pass.
n_pools_full: usize2026-09-25: Pools dsa_kpool_compress writes, including the trailing partial one.
n_pools: usize2026-09-25: Complete pools, the prefix the later kernels read.
select_k: usize2026-09-25: Pools selected per query.
out_width: usize2026-09-25: Emitted index-row width.
topk_np2: usize2026-09-25: Tile width the top-k select walks the pool axis in: topk_tile, or the
next power of two (at least 2) at or above n_pools when that is smaller.
topk_smem: usize2026-09-25: Shared memory dsa_topk_pools needs, in bytes.
index_head_dim: usize2026-09-25: Channels per compress block.
index_heads: usize§index_kpool: usizeImplementations§
Trait Implementations§
Source§impl Clone for DsaSelectGeometry
impl Clone for DsaSelectGeometry
Source§fn clone(&self) -> DsaSelectGeometry
fn clone(&self) -> DsaSelectGeometry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DsaSelectGeometry
impl Debug for DsaSelectGeometry
Source§impl PartialEq for DsaSelectGeometry
impl PartialEq for DsaSelectGeometry
impl Copy for DsaSelectGeometry
impl Eq for DsaSelectGeometry
impl StructuralPartialEq for DsaSelectGeometry
Auto Trait Implementations§
impl Freeze for DsaSelectGeometry
impl RefUnwindSafe for DsaSelectGeometry
impl Send for DsaSelectGeometry
impl Sync for DsaSelectGeometry
impl Unpin for DsaSelectGeometry
impl UnwindSafe for DsaSelectGeometry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.