1# @ajax/mesh-prog-pipehash
23The pipe demo's GPU stage: a warp pops up to 32 `msg` records from its inbox (a CPU source feeds it),
4hashes them a lane each (sha256d) and pushes the `digest`s into a CPU sink, one collective push each.
5Digests a full sink does not take are carried in the view and retried first; without room for 32 the
6warp pops nothing (backpressure up the pipe). Layout: @ajax/mesh-abi-view-pipedemo.
78- **Ported from:** alpha-rust-mesh `programs/pipehash/src/lib.rs`.
9- **Tests:** on the simulator between a host source and a host sink (pipes through
10 @ajax/mesh-words-host): no sink -> nothing done; 200 msgs in, each digest out exactly once and equal to
11 the reference digest; backpressure with the sink's GPU side full, the msgs waiting in the inbox.