Abstract
As supercomputing enters an era of extreme hardware heterogeneity—spanning GPUs, FPGAs, AI accelerators, and Quantum processors—the traditional "proxy app" approach to co-design is hitting a breaking point. This paper proposes Octopodes: highly parameterizable, abstract algorithmic representations that move away from fixed code implementations to allow for more flexible, automated, and sustainable hardware-software co-design.
The Crisis of Traditional Proxy Apps
In High-Performance Computing (HPC), "co-design" is the critical process where hardware architects and software developers collaborate to ensure future supercomputers can efficiently execute scientific workloads. For decades, the industry has relied on proxy apps (or "mini-apps")—scaled-down versions of massive scientific codes, such as climate models or fluid dynamics simulations, that represent the core computational kernels.
However, the current landscape is "drowning" in proxy apps. Existing suites, such as the ECP Proxy Applications or the Fiber applications used for the Fugaku supercomputer, face three critical challenges:
- Implementation Bias: Most proxy apps are hard-coded in C or Fortran with data layouts optimized for cache-based CPU architectures. This makes them poor predictors for novel architectures like FPGAs or photonics-based processors.
- Prohibitive Costs: Porting a single proxy app to a new architecture can cost millions of dollars in engineering time, a cost that scales unsustainably as hardware diversity increases.
- Algorithmic Opacity: These apps often lack documentation on why a specific algorithm was chosen, leading vendors to optimize the wrong parts of the code or preserve inefficiencies that are not inherent to the underlying science.
The Octopode Framework
To address these limitations, this paper outlines a transition from fixed benchmarks to a fluid "toolbox" centered on Octopodes. Named for their "shape-shifting" nature, Octopodes are high-level, mathematical specifications of a computation (e.g., a Fast Fourier Transform or a sparse matrix multiplication) rather than specific source code.
Key Components of the Octopode Approach
- Mathematical Specifications: Instead of providing a vendor with a fixed C++ file, a research center provides an Octopode specification. This grants vendors "tuning freedom" to change algorithms or data layouts to best fit their specific hardware, provided the mathematical result remains consistent.
- Automated Mapping: The framework proposes using Machine Learning (ML) to automatically identify "Regions of Interest" (ROI) in massive, multi-million-line production codes and map them to these parameterized Octopodes.
- Efficiency over Raw Speed: The authors advocate for "Efficiency Reporting"—comparing achieved performance against the theoretical peak of the hardware—to better understand system utilization across diverse architectures.
Strategic Insights and Precedents
The authors argue that "Performance Portability" is largely a myth; manual code refactoring is almost always required to truly utilize new hardware. Octopodes solve this by making the specification portable, not the code.
This approach is supported by successful precedents like SPIRAL, a tool for generating optimized signal processing kernels that has demonstrated how high-level specifications can outperform hand-tuned code across different hardware generations. Furthermore, reflections on the RIKEN Fugaku project suggest that while proxy apps were indispensable for its success, the sheer complexity of "post-exascale" systems makes the manual approach unsustainable for the next decade.
A New Co-Design Cycle
The paper proposes a four-step strategic framework for future supercomputing procurement:
- Profiling: Detailed execution profiling of production workloads.
- Identification: Using automated tools to find ROIs.
- Data Collection: Gathering performance data for those regions.
- Categorization: Mapping regions into parameterized Octopodes.
Limitations and the Path Forward
Transitioning to Octopodes requires overcoming significant hurdles. There is currently a tooling gap; robust, automated tools to extract Octopodes from legacy scientific codebases do not yet exist. Additionally, moving to abstract specifications requires rigorous verification challenges, especially for non-deterministic or noisy systems like NISQ-era quantum computers.
Ultimately, a cultural shift is required. The HPC community and government procurement offices must move away from simply "running a benchmark" toward a more collaborative, specification-based evaluation process. Octopodes represent a potential "common language" between HPC users, system operators, and hardware vendors to describe the scientific challenges of the future.
Summary updated