Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Kernel Catalogue

RustKernels provides 106 GPU-accelerated kernels across 14 domain-specific crates. This catalogue organizes kernels by business domain.

Quick Reference

DomainCrateKernelsPrimary Use Cases
Graph Analyticsrustkernel-graph28Centrality, GNN inference, community detection
Statistical MLrustkernel-ml17Clustering, NLP, federated learning, healthcare
Compliancerustkernel-compliance11AML, KYC, sanctions screening
Temporal Analysisrustkernel-temporal7Forecasting, seasonality, anomalies
Risk Analyticsrustkernel-risk5Credit, market, portfolio risk
Bankingrustkernel-banking1Fraud pattern matching
Behavioral Analyticsrustkernel-behavioral6Profiling, forensics, correlation
Order Matchingrustkernel-orderbook1Order book matching engine
Process Intelligencerustkernel-procint7DFG, conformance, digital twin simulation
Clearingrustkernel-clearing5Netting, settlement, DVP
Treasuryrustkernel-treasury5Cash flow, FX, liquidity
Accountingrustkernel-accounting9Network generation, reconciliation
Paymentsrustkernel-payments2Payment processing, flow analysis
Auditrustkernel-audit2Feature extraction, hypergraph

Kernels by Execution Mode

Batch-Only Kernels (35)

Heavy computation kernels that only support batch mode:

  • Graph: BetweennessCentrality, FullGraphMetrics, GNNInference, GraphAttention
  • ML: DBSCAN, HierarchicalClustering, IsolationForest, SecureAggregation, DrugInteractionPrediction
  • Compliance: EntityResolution, TransactionMonitoring
  • Process: NextActivityPrediction, EventLogImputation, DigitalTwin
  • And more…

Ring-Only Kernels (0)

Currently all Ring-capable kernels also support Batch mode.

Dual-Mode Kernels (71)

Kernels supporting both Batch and Ring execution:

  • All centrality measures (PageRank, Degree, Closeness, etc.)
  • All clustering algorithms (KMeans, Louvain, etc.)
  • All risk calculations (VaR, Credit Scoring, etc.)
  • Streaming ML (StreamingIsolationForest, AdaptiveThreshold)
  • And more…

Using the Catalogue

Each domain page includes:

  1. Domain Overview - Purpose and key use cases
  2. Kernel List - All kernels with brief descriptions
  3. Kernel Details - For each kernel:
    • Kernel ID and modes
    • Input/output types
    • Usage examples
    • Performance characteristics

Feature Flags

Enable specific domains via Cargo features:

# Default domains
rustkernel = "0.1.0"  # graph, ml, compliance, temporal, risk

# Selective
rustkernel = { version = "0.1.0", features = ["accounting", "treasury"] }

# All domains
rustkernel = { version = "0.1.0", features = ["full"] }

Kernel ID Convention

Kernel IDs follow the pattern {domain}/{kernel-name}:

graph/pagerank
ml/kmeans
compliance/aml-pattern-detection
risk/monte-carlo-var
accounting/network-generation

This enables hierarchical organization and clear domain ownership.