pub struct WgpuScanBatchSegmentationEvidence {Show 13 fields
pub schema_version: u32,
pub chunk_count: u32,
pub segment_count: u32,
pub command_encoder_count: u32,
pub bind_group_reuse_count: u32,
pub bind_group_create_count: u32,
pub bind_group_reuse_bps: u16,
pub upload_copy_count: u32,
pub readback_copy_count: u32,
pub copy_count: u32,
pub match_digest: u64,
pub match_parity: bool,
pub all_command_counts_recorded: bool,
}Expand description
Evidence emitted for one WGPU segmented scan batch.
Fields§
§schema_version: u32Evidence schema version.
chunk_count: u32Logical scan chunks in the batch.
segment_count: u32Segment count after applying the command encoder chunk limit.
command_encoder_count: u32Command encoders required by the segmentation plan.
bind_group_reuse_count: u32Bind groups reused across command encoders.
bind_group_create_count: u32Bind groups created for command encoders.
bind_group_reuse_bps: u16Bind group reuse ratio in basis points.
upload_copy_count: u32Host-to-device copy commands recorded for the batch.
readback_copy_count: u32Device-to-host or device-to-staging copy commands recorded for the batch.
copy_count: u32Total copy commands recorded for the batch.
match_digest: u64Stable match digest when WGPU output matches the oracle.
match_parity: boolTrue when expected and actual match digests are identical.
all_command_counts_recorded: boolTrue when command encoder, bind group, and copy counts are present.
Implementations§
Source§impl WgpuScanBatchSegmentationEvidence
impl WgpuScanBatchSegmentationEvidence
Sourcepub const fn is_complete(self) -> bool
pub const fn is_complete(self) -> bool
Return true when evidence has the schema, command counts, and match parity required by release benchmark claims.
match_digest != 0 is intentionally NOT used as a completeness gate.
Zero is a legitimate digest value when the scanned corpus produces zero
rule firings (the hash of the empty match set); the match_parity flag
already encodes whether the oracle and WGPU digests agreed.
Trait Implementations§
Source§impl Clone for WgpuScanBatchSegmentationEvidence
impl Clone for WgpuScanBatchSegmentationEvidence
Source§fn clone(&self) -> WgpuScanBatchSegmentationEvidence
fn clone(&self) -> WgpuScanBatchSegmentationEvidence
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for WgpuScanBatchSegmentationEvidence
impl Eq for WgpuScanBatchSegmentationEvidence
impl StructuralPartialEq for WgpuScanBatchSegmentationEvidence
Auto Trait Implementations§
impl Freeze for WgpuScanBatchSegmentationEvidence
impl RefUnwindSafe for WgpuScanBatchSegmentationEvidence
impl Send for WgpuScanBatchSegmentationEvidence
impl Sync for WgpuScanBatchSegmentationEvidence
impl Unpin for WgpuScanBatchSegmentationEvidence
impl UnsafeUnpin for WgpuScanBatchSegmentationEvidence
impl UnwindSafe for WgpuScanBatchSegmentationEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.