pub struct EpistemicGpuWorldViewValidationTrace {
pub literal_count: usize,
pub candidates_checked: usize,
pub reduction_count: usize,
pub models_per_reduction: usize,
pub model_membership_bytes_checked: usize,
pub world_view_slots_checked: usize,
pub rejection_reason_slots_written: usize,
pub kernel_launches: u32,
pub host_write_ops: u32,
pub kernel_timing: EpistemicGpuKernelTimingTrace,
}Expand description
Trace proving staged model memberships were validated against world views on GPU.
Fields§
§literal_count: usizeNumber of epistemic literals represented per candidate/model.
candidates_checked: usizeNumber of candidate rows checked on device.
reduction_count: usizeNumber of reduced-program summaries represented in the membership layout.
models_per_reduction: usizeMaximum models represented per reduction.
model_membership_bytes_checked: usizeModel-membership bytes checked by the kernel.
world_view_slots_checked: usizeWorld-view staging slots checked by the kernel.
rejection_reason_slots_written: usizeRejection-reason slots written by the kernel.
kernel_launches: u32World-view validation kernel launches.
host_write_ops: u32Host writes used by world-view validation. Accepted execution requires zero.
kernel_timing: EpistemicGpuKernelTimingTraceCUDA-event timing for the launched kernel.
Implementations§
Source§impl EpistemicGpuWorldViewValidationTrace
impl EpistemicGpuWorldViewValidationTrace
Sourcepub fn for_counts(
literal_count: usize,
candidate_count: usize,
reduction_count: usize,
models_per_reduction: usize,
) -> Result<Self>
pub fn for_counts( literal_count: usize, candidate_count: usize, reduction_count: usize, models_per_reduction: usize, ) -> Result<Self>
Build a world-view validation trace for a bounded device launch.
Sourcepub const fn with_kernel_timing(
self,
kernel_timing: EpistemicGpuKernelTimingTrace,
) -> Self
pub const fn with_kernel_timing( self, kernel_timing: EpistemicGpuKernelTimingTrace, ) -> Self
Attach CUDA-event timing captured by the runtime launch path.
Trait Implementations§
Source§impl Clone for EpistemicGpuWorldViewValidationTrace
impl Clone for EpistemicGpuWorldViewValidationTrace
Source§fn clone(&self) -> EpistemicGpuWorldViewValidationTrace
fn clone(&self) -> EpistemicGpuWorldViewValidationTrace
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 PartialEq for EpistemicGpuWorldViewValidationTrace
impl PartialEq for EpistemicGpuWorldViewValidationTrace
Source§fn eq(&self, other: &EpistemicGpuWorldViewValidationTrace) -> bool
fn eq(&self, other: &EpistemicGpuWorldViewValidationTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpistemicGpuWorldViewValidationTrace
impl Eq for EpistemicGpuWorldViewValidationTrace
impl StructuralPartialEq for EpistemicGpuWorldViewValidationTrace
Auto Trait Implementations§
impl Freeze for EpistemicGpuWorldViewValidationTrace
impl RefUnwindSafe for EpistemicGpuWorldViewValidationTrace
impl Send for EpistemicGpuWorldViewValidationTrace
impl Sync for EpistemicGpuWorldViewValidationTrace
impl Unpin for EpistemicGpuWorldViewValidationTrace
impl UnsafeUnpin for EpistemicGpuWorldViewValidationTrace
impl UnwindSafe for EpistemicGpuWorldViewValidationTrace
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