PofoliaPofolia ile paylaşıldı

Proceedings of the ACM on Programming Languages· 2026Q1

Performans Profilleme Yoluyla Hızlandırıcı Derleyicilerini Anlama

Understanding Accelerator Compilers via Performance Profiling

Ayaka Yorihiro, Griffin Berlstein, Pedro Pontes García, Kevin Laeufer ve diğerleri

Kısa özet

Calyx IL'ye derlenen ADL'ler için yeni bir döngü düzeyinde profilleyici olan Petal, simülasyon izlerini üst düzey koda geri eşleyerek derleyici performans kararlarını ortaya çıkarır ve manuel optimizasyonları mümkün kılar.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Ana noktalar

  • Petal, Calyx ara diline (IL) derlenen ADL'ler için bir döngü düzeyinde profilleyicidir.
  • Kodları enstrümante eder, kayıt-transfer-düzeyi simülasyon izlerini analiz eder ve olayları üst düzey yapılara eşler.
  • Petal, her döngüdeki aktif olayları temsil eden çağrı ağaçları ve derleyici meta verilerini kullanarak ADL düzeyinde profiller oluşturur.
  • Vaka çalışmaları, Petal'ın performans sorunlarını belirleme ve manuel optimizasyonlara rehberlik etme yeteneğini göstermekte, döngüleri %46,9'a kadar azaltmaktadır.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Özet (abstract)

Accelerator design languages (ADLs), high-level languages that compile to hardware units, help domain experts quickly design efficient application-specific hardware. ADL compilers optimize datapaths and convert software-like control flow constructs into control paths. Such compilers are necessarily complex and often unpredictable: they must bridge the wide semantic gap between high-level semantics and cycle-level schedules, and they typically rely on advanced heuristics to optimize circuits. The resulting performance can be difficult to control, requiring guesswork to find and resolve performance problems in the generated hardware. We conjecture that ADL compilers will never be perfect: some performance unpredictability is endemic to the problem they solve. In lieu of compiler perfection, we argue for compiler understanding tools that give ADL programmers insight into how the compiler’s decisions affect performance. We introduce Petal, a cycle-level profiler for ADLs that compile to the Calyx intermediate language (IL). Petal instruments the Calyx code with probes and then analyzes the trace from a register-transfer-level simulation. It then maps the events in the trace back to high-level control constructs in the Calyx code to determine when each construct was active. Petal processes that information into a trace of call trees , each representing active events in a specific cycle and their relationships. Lastly, Petal uses metadata generated by the ADL compiler to construct an ADL-level profile. Using case studies, we demonstrate that Petal’s cycle-level profiles can identify performance problems in existing accelerator designs. We show that these insights can also guide developers toward optimizations that the compiler was unable to perform automatically, including a reduction by 46.9% of total cycles for one application.

Yazarların özeti; kaynağından alınmıştır. Proceedings of the ACM on Programming Languages, 2026 · DOI ↗

ÇıkarımlarPremium
Makaleye SorÜcretsiz hesapla

Ücretsiz hesapla devam et

Makaleye Sor ile bu makaleye günde 3 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.

Web'de ücretsiz devam et

Google ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.

Telefonda:

Alan: Donanım ve Mimari

Hardware and ArchitectureComputer Science