ringkernel
Main facade crate for the RingKernel GPU-native persistent actor model framework.
Overview
This crate re-exports the entire RingKernel API, providing a single entry point for users. It combines core abstractions, backend implementations, and derive macros into a unified interface.
Installation
[]
= "0.1"
= { = "1", = ["full"] }
For GPU backends:
# NVIDIA CUDA
= { = "0.1", = ["cuda"] }
# WebGPU (cross-platform)
= { = "0.1", = ["wgpu"] }
# All backends
= { = "0.1", = ["all-backends"] }
Quick Start
use *;
async
Features
| Feature | Description |
|---|---|
cpu |
CPU backend (default, always available) |
cuda |
NVIDIA CUDA backend |
wgpu |
WebGPU cross-platform backend |
metal |
Apple Metal backend (scaffolded) |
all-backends |
Enable all GPU backends |
Re-exported Crates
ringkernel-core- Core traits and typesringkernel-cpu- CPU backendringkernel-cuda- CUDA backend (optional)ringkernel-wgpu- WebGPU backend (optional)ringkernel-derive- Proc macros
Examples
The crate includes 20+ examples:
# Basic usage
# Messaging patterns
# CUDA code generation
# WebGPU
License
Apache-2.0