Module parallel

Module parallel 

Source
Expand description

Parallel distribution for 256-core agentic chip

Distributes minimum cut computation across WASM cores.

Structs§

CoreDistributor
Distribute graph across cores based on strategy
CoreExecutor
Per-core execution context
CoreMessage
Message types for inter-core communication (4 bytes)
ResultAggregator
Result aggregator for collecting results from all cores
SharedCoordinator
Shared state for coordination (fits in shared memory)
WorkItem
Lock-free work queue entry

Enums§

CoreStrategy
Core assignment strategy

Constants§

NUM_CORES
Number of WASM cores
RANGES_PER_CORE
Number of geometric ranges per core
RANGE_FACTOR
Range factor (1.2 from paper)
TOTAL_RANGES
Total ranges = NUM_CORES × RANGES_PER_CORE

Functions§

compute_core_range
Compute range bounds for a core