pub struct EpistemicGpuPropagationTrace {
pub literal_count: usize,
pub propagated_candidates: usize,
pub world_view_bytes_written: usize,
pub rejection_reason_slots_written: usize,
pub kernel_launches: u32,
pub host_write_ops: u32,
pub kernel_timing: EpistemicGpuKernelTimingTrace,
}Expand description
Trace proving candidate propagation staging was performed by a GPU kernel.
Fields§
§literal_count: usizeNumber of epistemic literals represented per candidate.
propagated_candidates: usizeNumber of candidate rows propagated on device.
world_view_bytes_written: usizeWorld-view staging bytes written by the kernel.
rejection_reason_slots_written: usizeRejection-reason slots initialized by the kernel.
kernel_launches: u32Candidate-propagation kernel launches.
host_write_ops: u32Host writes used by propagation. Accepted GPU execution requires zero.
kernel_timing: EpistemicGpuKernelTimingTraceCUDA-event timing for the launched kernel.
Implementations§
Source§impl EpistemicGpuPropagationTrace
impl EpistemicGpuPropagationTrace
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 propagation 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 EpistemicGpuPropagationTrace
impl Clone for EpistemicGpuPropagationTrace
Source§fn clone(&self) -> EpistemicGpuPropagationTrace
fn clone(&self) -> EpistemicGpuPropagationTrace
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 Debug for EpistemicGpuPropagationTrace
impl Debug for EpistemicGpuPropagationTrace
Source§impl PartialEq for EpistemicGpuPropagationTrace
impl PartialEq for EpistemicGpuPropagationTrace
Source§fn eq(&self, other: &EpistemicGpuPropagationTrace) -> bool
fn eq(&self, other: &EpistemicGpuPropagationTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpistemicGpuPropagationTrace
impl Eq for EpistemicGpuPropagationTrace
impl StructuralPartialEq for EpistemicGpuPropagationTrace
Auto Trait Implementations§
impl Freeze for EpistemicGpuPropagationTrace
impl RefUnwindSafe for EpistemicGpuPropagationTrace
impl Send for EpistemicGpuPropagationTrace
impl Sync for EpistemicGpuPropagationTrace
impl Unpin for EpistemicGpuPropagationTrace
impl UnsafeUnpin for EpistemicGpuPropagationTrace
impl UnwindSafe for EpistemicGpuPropagationTrace
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