Expand description
K2K (Kernel-to-Kernel) coordination utilities.
This module provides higher-level abstractions for K2K communication patterns commonly used in financial analytics pipelines.
§Coordination Patterns
- Fan-out: One kernel broadcasting to multiple downstream kernels
- Fan-in: Multiple kernels sending to one aggregator kernel
- Pipeline: Sequential multi-stage processing
- Scatter-Gather: Parallel processing with result aggregation
- Iterative: Convergence-based algorithms (PageRank, K-Means)
Structs§
- FanOut
Tracker - Tracks fan-out broadcast destinations and delivery status.
- Iterative
Convergence Summary - Summary of iterative algorithm convergence.
- Iterative
State - State for tracking iterative algorithm convergence.
- K2KWorker
Result - Result from a worker in a scatter-gather operation.
- Pipeline
Tracker - Tracks progress through a multi-stage pipeline.
- Scatter
Gather State - Tracks scatter-gather operation state.
Enums§
- K2KControl
Message - Control messages for K2K coordination between kernels.
- K2KPriority
- Priority levels for K2K messages.
Functions§
- kernel_
id_ to_ u64 - Convert a KernelId to a u64 hash for message envelope addressing.