arXiv · 2607.17106
The Einsum-Enabled Design Space for Graph Algorithms: A BFS Case Study
Abstract
We propose a principled approach to reasoning about various graph algorithm implementations. We leverage the extended general Einsum notation (EDGE) which allows us to factor complexity along four axes: algebraic manipulation, mapping, format, and low-level implementations. Using breadth-first search (BFS) as a driving example and case study, we apply our methodology to explore over 90 variations across 26 categories of optimization choices for our GPU-based implementations. In addition to showing that our approach is general enough to represent previously discovered algorithmic techniques such as the pull variant of BFS, we discover novel variants that lead to geomean performance benefits ranging from 1.2x to 1.7x over the best Gunrock baseline variation for graphs with mid- to high- normalized degree variance.
Explore related subjects
Keep this discovery
Toluwanimi O. Odemuyiwa, Serban D. Porumbescu, Muhammad Osama, Joel S. Emer, John D. Owens. 2026-07-19. The Einsum-Enabled Design Space for Graph Algorithms: A BFS Case Study. https://arxiv.org/abs/2607.17106
Cite the original work for its findings. Save a collection to share your selection of sources.