Skip to content

Commit 9cbce16

Browse files
committed
doc strings
Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
1 parent f88b150 commit 9cbce16

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • vortex-cuda/src/dynamic_dispatch

vortex-cuda/src/dynamic_dispatch/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@ fn as_bytes<T: Sized>(val: &T) -> &[u8] {
6868
/// serialized into the packed plan byte buffer by [`CudaDispatchPlan::new`].
6969
#[derive(Clone)]
7070
pub struct MaterializedStage {
71+
/// Device pointer to the input buffer for this stage.
7172
pub input_ptr: u64,
73+
/// Byte offset into shared memory where this stage's data is stored.
7274
pub smem_offset: u32,
75+
/// Number of elements in this stage.
7376
pub len: u32,
77+
/// The source operation that produces the initial values (e.g. load, bitunpack, sequence).
7478
pub source: SourceOp,
79+
/// Chain of element-wise scalar operations applied after the source (e.g. frame-of-reference, zigzag, ALP).
7580
pub scalar_ops: Vec<ScalarOp>,
7681
}
7782

0 commit comments

Comments
 (0)