Skip to main content

EpistemicGpuFinalTupleMaterializationTrace

Struct EpistemicGpuFinalTupleMaterializationTrace 

Source
pub struct EpistemicGpuFinalTupleMaterializationTrace {
Show 15 fields pub output_column_count: usize, pub output_row_capacity: usize, pub tuple_bytes_capacity: usize, pub output_row_count_device_reads: u32, pub model_membership_bytes_checked: usize, pub bounded_model_slots_per_reduction: usize, pub row_specific_membership_row_capacity: usize, pub row_filter_row_capacity_outside_model_slot_window: usize, pub world_view_slots_checked: usize, pub row_filter_count: usize, pub negated_row_filter_count: usize, pub final_row_count_device_writes: u32, pub kernel_launches: u32, pub host_write_ops: u32, pub kernel_timing: EpistemicGpuKernelTimingTrace,
}
Expand description

Trace proving final query tuples were materialized into a device-resident buffer.

Fields§

§output_column_count: usize

Number of output columns copied into the final device buffer.

§output_row_capacity: usize

Row capacity of the final output buffer.

§tuple_bytes_capacity: usize

Device tuple bytes covered by the materialization kernels.

§output_row_count_device_reads: u32

Device output row-count scalars read by the kernels.

§model_membership_bytes_checked: usize

Model-membership bytes checked by the kernels before tuple materialization.

§bounded_model_slots_per_reduction: usize

Bounded model slots available per reduction during final tuple materialization.

§row_specific_membership_row_capacity: usize

Output row capacity that can be checked against row-specific model slots.

§row_filter_row_capacity_outside_model_slot_window: usize

Output row capacity beyond the bounded model-slot window.

§world_view_slots_checked: usize

World-view slots checked by the kernels before tuple materialization.

§row_filter_count: usize

Variable-bound tuple row filters applied by the final-row map kernel.

§negated_row_filter_count: usize

Negated variable-bound tuple row filters applied by the final-row map kernel.

§final_row_count_device_writes: u32

Device final row-count scalars written by the kernels.

§kernel_launches: u32

Final tuple materialization kernel launches.

§host_write_ops: u32

Host writes used by final tuple materialization. Accepted execution requires zero.

§kernel_timing: EpistemicGpuKernelTimingTrace

CUDA-event timing for the launched kernel batch.

Implementations§

Source§

impl EpistemicGpuFinalTupleMaterializationTrace

Source

pub fn for_counts( output_column_count: usize, output_row_capacity: usize, tuple_bytes_capacity: usize, literal_count: usize, candidate_count: usize, reduction_count: usize, models_per_reduction: usize, ) -> Result<Self>

Build a final tuple materialization trace for a device-side output buffer.

Source

pub const fn with_kernel_timing( self, kernel_timing: EpistemicGpuKernelTimingTrace, ) -> Self

Attach CUDA-event timing captured by the runtime launch path.

Source

pub fn with_row_filter_counts( self, row_filter_count: usize, negated_row_filter_count: usize, ) -> Result<Self>

Attach final-row filter metadata captured before launching the row-map kernel.

Source

pub fn require_row_filter_materialization_evidence( &self, construct: &str, final_output_rows: usize, ) -> Result<()>

Require GPU evidence that row-filtered tuple output fits the validated coverage window.

Trait Implementations§

Source§

impl Clone for EpistemicGpuFinalTupleMaterializationTrace

Source§

fn clone(&self) -> EpistemicGpuFinalTupleMaterializationTrace

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EpistemicGpuFinalTupleMaterializationTrace

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for EpistemicGpuFinalTupleMaterializationTrace

Source§

fn eq(&self, other: &EpistemicGpuFinalTupleMaterializationTrace) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for EpistemicGpuFinalTupleMaterializationTrace

Source§

impl Eq for EpistemicGpuFinalTupleMaterializationTrace

Source§

impl StructuralPartialEq for EpistemicGpuFinalTupleMaterializationTrace

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,