pub struct VerifyBatch {
pub max_rows: u64,
/* private fields */
}Expand description
2026-09-30: What compiling a batched-verify program reads, kept from the build.
Fields§
§max_rows: u642026-09-30: The widest table admitted, in rows.
Implementations§
Source§impl VerifyBatch
impl VerifyBatch
Sourcepub fn new(
parts: Parts,
workspace: DevicePtr,
workspace_bytes: u64,
max_rows: u64,
) -> Self
pub fn new( parts: Parts, workspace: DevicePtr, workspace_bytes: u64, max_rows: u64, ) -> Self
2026-09-30: The compiler over parts, in a workspace of workspace_bytes at
workspace, admitting tables of up to max_rows rows.
Sourcepub fn program(
&self,
gpu: &dyn GpuBackend,
table: &RowTable,
) -> Result<Arc<VerifyBatchProgram>>
pub fn program( &self, gpu: &dyn GpuBackend, table: &RowTable, ) -> Result<Arc<VerifyBatchProgram>>
2026-09-30: The program for table, compiled on a miss.
Sourcepub fn fixed_meta(&self) -> &AttnMetadataDev
pub fn fixed_meta(&self) -> &AttnMetadataDev
2026-09-30: The metadata the programs read (Fixed::verify_batch_meta).
Sourcepub fn fixed_tokens(&self) -> DevicePtr
pub fn fixed_tokens(&self) -> DevicePtr
2026-09-30: Where the programs write each row’s token (Fixed::verify_batch_tokens).
Auto Trait Implementations§
impl !Freeze for VerifyBatch
impl !RefUnwindSafe for VerifyBatch
impl Send for VerifyBatch
impl Sync for VerifyBatch
impl Unpin for VerifyBatch
impl !UnwindSafe for VerifyBatch
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