Skip to main content

ringkernel_accnet/actors/
mod.rs

1//! GPU-native actor system for accounting network analytics.
2//!
3//! This module implements the RingKernel actor model for accounting analytics,
4//! with persistent GPU kernels processing messages in a pipeline:
5//!
6//! ```text
7//! ┌─────────────┐   ┌──────────────┐   ┌─────────────┐   ┌──────────────┐
8//! │   Flow      │──▶│   PageRank   │──▶│   Fraud     │──▶│   Results    │
9//! │  Generator  │   │   Computer   │   │  Detector   │   │  Aggregator  │
10//! └─────────────┘   └──────────────┘   └─────────────┘   └──────────────┘
11//!       ▲                  │                  │                  │
12//!       │                  ▼                  ▼                  ▼
13//!       │           ┌──────────────┐   ┌─────────────┐          │
14//!       │           │   GAAP       │   │   Benford   │          │
15//!       │           │   Validator  │   │   Analyzer  │          │
16//!       │           └──────────────┘   └─────────────┘          │
17//!       │                                                        │
18//!       └────────────────── K2K Messaging ──────────────────────┘
19//! ```
20//!
21//! ## Kernel Actors
22//!
23//! - **FlowGeneratorKernel**: Generates transaction flows from journal entries
24//! - **PageRankKernel**: Computes PageRank scores for account influence
25//! - **FraudDetectorKernel**: Detects fraud patterns (circular flows, velocity, etc.)
26//! - **GaapValidatorKernel**: Validates GAAP compliance rules
27//! - **BenfordAnalyzerKernel**: Performs Benford's Law analysis
28//! - **ResultsAggregatorKernel**: Aggregates results and sends to host
29
30pub mod coordinator;
31#[cfg(feature = "cuda")]
32pub mod kernels;
33pub mod messages;
34pub mod runtime;
35
36pub use coordinator::*;
37#[cfg(feature = "cuda")]
38pub use kernels::*;
39pub use messages::*;
40pub use runtime::*;