Crate rustkernel_core

Crate rustkernel_core 

Source
Expand description

§RustKernel Core

Core abstractions, traits, and registry for the RustKernels GPU kernel library.

This crate provides:

  • Domain and kernel type definitions
  • Kernel metadata and configuration
  • Trait definitions for batch and ring kernels
  • Kernel registry with auto-discovery
  • Licensing and feature gating system
  • Actix actor integration for GPU-backed actors
  • Runtime lifecycle management (0.3.1)
  • Enterprise security, observability, and resilience patterns (0.3.1)

Modules§

config
Production Configuration Management
domain
Domain definitions for kernel categorization.
error
Error types for RustKernels.
k2k
K2K (Kernel-to-Kernel) coordination utilities.
kernel
Kernel metadata and configuration.
license
Licensing and feature gating system.
memory
Memory Management Infrastructure
messages
Message types and traits for Ring kernel communication.
observability
Observability Infrastructure
prelude
Prelude module for convenient imports
registry
Kernel registry with auto-discovery.
resilience
Resilience Patterns
runtime
Runtime Lifecycle Management
security
Security Infrastructure
slo
Service Level Objective (SLO) validation.
test_kernels
Test kernels for validation and benchmarking.
traits
Core kernel traits.

Structs§

HlcClock
Hybrid Logical Clock for generating causally-ordered timestamps.
HlcTimestamp
Hybrid Logical Clock timestamp.
K2KBroker
K2K message broker for routing messages between kernels.
K2KEndpoint
K2K endpoint for a single kernel.
K2KMessage
A K2K message with routing information.
KernelHandle
Handle to a launched kernel.
KernelId
Unique kernel identifier.
LaunchOptions
Options for launching a kernel.
MessageEnvelope
Envelope containing header and serialized payload.
MessageHeader
Fixed-size message header (256 bytes, cache-line aligned).
MessageId
Unique message identifier.
RingContext
GPU intrinsics facade for kernel handlers.

Enums§

KernelState
Kernel lifecycle state.
RingKernelError
Comprehensive error type for RingKernel operations.

Traits§

MessageQueue
Trait for message queue implementations.
RingKernelRuntime
Backend-agnostic runtime trait for kernel management.
RingMessage
Trait for types that can be sent as kernel messages.