Skip to main content

ACTOR_TILE_KERNELS_HEADER

Constant ACTOR_TILE_KERNELS_HEADER 

Source
pub const ACTOR_TILE_KERNELS_HEADER: &str = r#"// CUDA Kernels for Actor-Based Tile FDTD Wave Simulation
// Generated by ringkernel-cuda-codegen from Rust DSL
//
// Architecture:
// - Each 16x16 tile is a persistent ring kernel actor
// - Actors communicate via K2K messaging with envelope format
// - HLC timestamps ensure causal ordering of halo exchanges
// - MessageEnvelope format: 256-byte header + payload
//
// Halo Exchange Protocol:
// 1. Receive halo data from neighbors (envelope contains direction + data)
// 2. Apply halos to shared memory buffer
// 3. Compute FDTD for interior cells
// 4. Extract edges and send to neighbors
// 5. Loop until termination signaled
"#;
Expand description

Header comment for generated actor tile kernels.