Expand description
Prelude module for convenient imports.
Import everything you need with:
ⓘ
use rustkernel::prelude::*;Structs§
- Analytics
Context - Analytics context for reusable buffers
- Analytics
Context Manager - Analytics context manager
- Auth
Config - Authentication configuration
- Circuit
Breaker - Circuit breaker for a kernel
- Circuit
Breaker Config - Circuit breaker configuration
- Correlation
Id - Correlation ID for request-response pairing.
- Deadline
Context - Deadline context for propagating deadlines
- Development
License - Development license that allows all domains (no validation).
- Echo
Kernel - Simple echo kernel for latency testing.
- Execution
Context - Execution context for kernel invocations.
- FanOut
Tracker - Tracks fan-out broadcast destinations and delivery status.
- Health
Check Result - Health check result
- Health
Probe - Health probe for a kernel
- HlcTimestamp
- Hybrid Logical Clock timestamp.
- Inter
Phase Reduction - Inter-phase reduction state
- Iterative
Convergence Summary - Summary of iterative algorithm convergence.
- Iterative
State - State for tracking iterative algorithm convergence.
- K2KBroker
- K2K message broker for routing messages between kernels.
- K2KEndpoint
- K2K endpoint for a single kernel.
- K2KWorker
Result - Result from a worker in a scatter-gather operation.
- Kernel
Config - Runtime configuration for a kernel instance.
- Kernel
Handle - Handle to a launched kernel.
- Kernel
Id - Unique kernel identifier.
- Kernel
Memory Manager - Kernel memory manager
- Kernel
Metadata - Kernel metadata (mirrors C#
[GpuKernel]attribute). - Kernel
Registry - Central registry for all kernels.
- Kernel
Result - Generic result wrapper for kernel responses.
- Kernel
Runtime - The main RustKernels runtime
- Launch
Options - Options for launching a kernel.
- License
- License configuration.
- MatMul
- Matrix multiplication kernel.
- Memory
Config - Memory configuration
- Memory
Stats - Memory statistics
- Message
Id - Unique message identifier.
- Permission
Set - A set of permissions
- Pipeline
Tracker - Tracks progress through a multi-stage pipeline.
- Production
Config - Unified production configuration
- Production
Config Builder - Configuration builder
- Recovery
Policy - Recovery policy for kernel failures
- Reduce
Sum - Sum reduction kernel.
- Reduction
Config - Configuration for inter-phase reduction
- Registry
Stats - Registry statistics.
- Resilience
Config - Unified resilience configuration
- Retry
Config - Retry configuration
- Ring
Context - GPU intrinsics facade for kernel handlers.
- Runtime
Builder - Builder for KernelRuntime
- Runtime
Config - Runtime configuration
- Runtime
Handle - Handle to a running runtime for status queries and control
- Runtime
Stats - Runtime statistics
- SLOValidator
- SLO validator for kernel performance.
- Scatter
Gather State - Tracks scatter-gather operation state.
- Secure
Ring Context - Secure ring context with authentication.
- Security
Config - Unified security configuration
- Security
Context - Security context for an authenticated request
- Tenant
Id - Tenant identifier
- Timeout
Config - Timeout configuration
- Vector
Add - Simple vector addition kernel.
Enums§
- Circuit
State - Circuit breaker state
- Domain
- Business/analytical domain for kernel categorization.
- Health
Status - Health status for kernel health checks
- K2KControl
Message - Control messages for K2K coordination between kernels.
- K2KPriority
- Priority levels for K2K messages.
- Kernel
Error - Errors that can occur during kernel operations.
- Kernel
Mode - Kernel execution mode.
- Kernel
Permission - Kernel permission aliases
- Kernel
State - Kernel lifecycle state.
- License
Error - License validation errors.
- Lifecycle
State - Runtime lifecycle states
- Memory
Error - Memory errors
- Permission
- Kernel-level permissions
- Pressure
Level - Memory pressure level
- Role
- Pre-defined roles
- Runtime
Preset - Runtime presets for common deployment scenarios
- SLOResult
- SLO validation result.
- Sync
Mode - Synchronization mode for multi-phase reductions
Traits§
- Batch
Kernel - Trait for batch (CPU-orchestrated) kernels.
- Batch
Message - Trait for batch kernel messages (CPU-orchestrated execution).
- Checkpointable
Kernel - Trait for kernels that support checkpoint/restore.
- Degradable
Kernel - Trait for kernels that support graceful degradation.
- GpuKernel
- Base trait for all GPU kernels.
- Health
Check - Health check trait for components
- Iterative
Kernel - Trait for iterative (multi-pass) kernels.
- Kernel
Request - Base trait for kernel request messages.
- Kernel
Response - Base trait for kernel response messages.
- License
Validator - License validator trait.
- Ring
Kernel Handler - Trait for ring (persistent actor) kernels.
- Ring
Message - Trait for types that can be sent as kernel messages.
Functions§
- kernel_
id_ to_ u64 - Convert a KernelId to a u64 hash for message envelope addressing.
Type Aliases§
- Result
- Result type alias using
KernelError.
Attribute Macros§
- gpu_
kernel - Define a GPU kernel with metadata.
- kernel_
state - Attribute for marking kernel state types.
Derive Macros§
- Kernel
Message - Derive macro for kernel messages.