arXiv論文メモ
新着一覧
cs.AR · 査読状況未確認

アクセラレーターのハードウェアとコンパイラーを共同設計

Compiler and Hardware Co-Design for Accelerator Architectures

Karl Herman Krause, Emad Jacob Maroun, Martin Schoeberl

この論文をやさしく読む

ひとことで言うと

専用計算装置を試作しやすくするため、ハードウェアとMLIRコンパイラーを一緒に設計した研究です。

何に役立つ?

予測可能なメモリーアクセスを持つ計算向けに、アクセラレーターの試作環境を作る際に参考になります。

この研究の面白いところ

試作した行列積アクセラレーターでRISC-V単独より28倍高速になり、次の課題としてセマフォ数の増え方も特定しました。

どこまで分かった?

速度は合成した全結合層の作業での比較です。対象は静的データフローで、セマフォ数は最悪の場合に命令数に比例して増えます。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

異種のアクセラレーター構造は、計算量の多い作業を効率よく処理できるが、システム全体の統合は難しい。本研究は、アクセラレーターの試作を速めるため、ハードウェアとコンパイラーの共同開発の負担を下げる、柔軟で拡張可能な構造EAACを提示する。対象はメモリーへのアクセスが予測可能な静的データフローの作業である。MLIRを使うことで、MLIRを出力するさまざまなフロントエンドとの統合が可能になる。必要なデータの配置・移動を行う最小限のコンパイラー機能を提供し、単純な加速装置を動かすまでの労力を減らす。同時に、将来の作業のために設計上の前提を少なくした出発点を残す。シストリックアレイと組み込みRISC-Vコアを組み合わせた試作GEMMアクセラレーターを、EAACのMLIR処理経路で端から端までコンパイルして検証した。合成した全結合層の作業では、RISC-Vのみの場合より実行時間が28倍速く、GEMM演算自体が全実行時間に占める割合は1.64%だった。さらにコンパイラーによるハードウェアセマフォの割当ても調べ、必要なセマフォ数が最悪の場合に命令数に比例して増えることを示し、今後の具体的な最適化対象とした。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-24(UTC)
最新改訂
2026-09-24 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Heterogeneous accelerator architectures offer an efficient path to performance for compute-intensive workloads. However, full-stack integration remains difficult. We present EAAC (Extensible Accelerator Architecture), a flexible and extensible compiler and hardware architecture designed to lower the overhead of hardware-compiler co-development for rapid prototyping of hardware accelerators. EAAC targets static data-flow workloads with predictable memory access patterns. By using MLIR, we enable possible integration with a range of different frontends that emit MLIR. And by providing a minimal set of compiler functionality that enable necessary data-orchestration we lower the effort needed to get a simple implementation of a hardware acceleration unit up and running, while providing a relatively blank and un-opinionated starting point for further work. We validate this approach with a prototype GEMM accelerator combining a systolic array unit with an embedded RISC-V core, compiled end-to-end through the EAAC MLIR pipeline. On a synthetic fully-connected-layer workload, the accelerator achieves a 28x speedup in execution time over a RISC-V-only baseline, with the GEMM operation itself accounting for only 1.64\% of total execution time. We further characterize the compiler's hardware-semaphore allocation, showing that the number of semaphores required scales linearly with instruction count in the worst case, and identify this as a concrete target for future optimization.

著者のコメント

8 pages, 4 figures

arXiv ID: 2609.30099 / 要約の誤りについて