Lab: Communicator Lifecycle
Show why communicators and registered buffers should be created once and reused.
Baseline
Section titled “Baseline”The baseline recreates communication state for every step.
Optimized
Section titled “Optimized”The optimized path pays setup once, then reuses the communicator across steps.
python compare.pyExpected Observation
Section titled “Expected Observation”The optimized path should have the same output with much lower per-step overhead.