pub struct EpistemicGpuCandidateGenerationTrace {
pub literal_count: usize,
pub generated_candidates: usize,
pub candidate_assumption_bytes: usize,
pub kernel_launches: u32,
pub host_write_ops: u32,
pub kernel_timing: EpistemicGpuKernelTimingTrace,
}Expand description
Trace proving candidate assumptions were generated by a GPU kernel.
Fields§
§literal_count: usizeNumber of epistemic literals represented per candidate.
generated_candidates: usizeNumber of candidate rows generated on device.
candidate_assumption_bytes: usizeCandidate-assumption bytes written by the kernel.
kernel_launches: u32Candidate-generation kernel launches.
host_write_ops: u32Host writes used by candidate generation. Accepted execution requires zero.
kernel_timing: EpistemicGpuKernelTimingTraceCUDA-event timing for the launched kernel.
Implementations§
Source§impl EpistemicGpuCandidateGenerationTrace
impl EpistemicGpuCandidateGenerationTrace
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 candidate-generation 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 EpistemicGpuCandidateGenerationTrace
impl Clone for EpistemicGpuCandidateGenerationTrace
Source§fn clone(&self) -> EpistemicGpuCandidateGenerationTrace
fn clone(&self) -> EpistemicGpuCandidateGenerationTrace
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 EpistemicGpuCandidateGenerationTrace
impl PartialEq for EpistemicGpuCandidateGenerationTrace
Source§fn eq(&self, other: &EpistemicGpuCandidateGenerationTrace) -> bool
fn eq(&self, other: &EpistemicGpuCandidateGenerationTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpistemicGpuCandidateGenerationTrace
impl Eq for EpistemicGpuCandidateGenerationTrace
impl StructuralPartialEq for EpistemicGpuCandidateGenerationTrace
Auto Trait Implementations§
impl Freeze for EpistemicGpuCandidateGenerationTrace
impl RefUnwindSafe for EpistemicGpuCandidateGenerationTrace
impl Send for EpistemicGpuCandidateGenerationTrace
impl Sync for EpistemicGpuCandidateGenerationTrace
impl Unpin for EpistemicGpuCandidateGenerationTrace
impl UnsafeUnpin for EpistemicGpuCandidateGenerationTrace
impl UnwindSafe for EpistemicGpuCandidateGenerationTrace
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