This sounds like graph reduction as done by https://haflang.github.io/ and that flavor of special purpose CPU.
The downside of reducing a large graph is the need for high bandwidth low latency memory.
The upside is that tiny CPUs attached directly to the memory could do reduction (execution).