pub struct EpistemicGpuCandidateValidationTrace {
pub literal_count: usize,
pub validated_candidates: usize,
pub candidate_assumption_bytes_checked: usize,
pub world_view_bytes_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 candidate buffers were validated by a GPU kernel.
Fields§
§literal_count: usizeNumber of epistemic literals represented per candidate.
validated_candidates: usizeNumber of candidate rows validated on device.
candidate_assumption_bytes_checked: usizeCandidate-assumption bytes checked by the kernel.
world_view_bytes_checked: usizeWorld-view staging bytes checked by the kernel.
rejection_reason_slots_written: usizeRejection-reason slots written by the kernel.
kernel_launches: u32Candidate-validation kernel launches.
host_write_ops: u32Host writes used by validation. Accepted GPU execution requires zero.
kernel_timing: EpistemicGpuKernelTimingTraceCUDA-event timing for the launched kernel.
Implementations§
Source§impl EpistemicGpuCandidateValidationTrace
impl EpistemicGpuCandidateValidationTrace
Sourcepub fn for_counts(literal_count: usize, candidate_count: usize) -> Result<Self>
pub fn for_counts(literal_count: usize, candidate_count: usize) -> Result<Self>
Build a 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.
Sourcepub fn require_matches_candidate_generation(
&self,
construct: &str,
candidate_generation: &EpistemicGpuCandidateGenerationTrace,
) -> Result<()>
pub fn require_matches_candidate_generation( &self, construct: &str, candidate_generation: &EpistemicGpuCandidateGenerationTrace, ) -> Result<()>
Require validation coverage to match the generated candidate workspace.
Trait Implementations§
Source§impl Clone for EpistemicGpuCandidateValidationTrace
impl Clone for EpistemicGpuCandidateValidationTrace
Source§fn clone(&self) -> EpistemicGpuCandidateValidationTrace
fn clone(&self) -> EpistemicGpuCandidateValidationTrace
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 EpistemicGpuCandidateValidationTrace
impl PartialEq for EpistemicGpuCandidateValidationTrace
Source§fn eq(&self, other: &EpistemicGpuCandidateValidationTrace) -> bool
fn eq(&self, other: &EpistemicGpuCandidateValidationTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpistemicGpuCandidateValidationTrace
impl Eq for EpistemicGpuCandidateValidationTrace
impl StructuralPartialEq for EpistemicGpuCandidateValidationTrace
Auto Trait Implementations§
impl Freeze for EpistemicGpuCandidateValidationTrace
impl RefUnwindSafe for EpistemicGpuCandidateValidationTrace
impl Send for EpistemicGpuCandidateValidationTrace
impl Sync for EpistemicGpuCandidateValidationTrace
impl Unpin for EpistemicGpuCandidateValidationTrace
impl UnsafeUnpin for EpistemicGpuCandidateValidationTrace
impl UnwindSafe for EpistemicGpuCandidateValidationTrace
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