paper-with-me

홈 › Papers

SwizzlePerf: Hardware-Aware LLMs for GPU Kernel Performance Optimization

2025-08-27 · Arya Tschand, Muhammad Awad, Ryan Swann, Kesavan Ramakrishnan, Jeffrey Ma, Keith Lowery, Ganesh Dasika, Vijay Janapa Reddi arxiv

Large language models (LLMs) have shown progress in GPU kernel performance engineering using inefficient search-based methods that optimize around runtime. Any existing approach lacks a key characteristic that human performance engineers rely on for near-optimal utilization -- hardware-awareness. By leveraging the workload's specific memory access patterns, architecture specifications, filtered profiling logs, and reflections on historical performance, we can make software-level optimizations that are tailored to the underlying hardware. SwizzlePerf automatically generates spatial optimizations for GPU kernels on disaggregated architectures by giving LLMs explicit hardware-awareness. For a GEMM kernel, SwizzlePerf takes less than 5 minutes to generate the same hardware-specific optimal swizzling pattern that took expert performance engineers 2 weeks to find. On a suite of 10 diverse ML and Science kernels, SwizzlePerf can generate swizzling patterns for 9 of the kernels that achieve up to a 2.06x speedup and 70% improvement in L2 hit rate. This work is the first of many steps toward systematically creating hardware-aware LLM performance engineering agents.

📄 PDF Abstract BibTeX arXiv:2508.20258

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

KernelBand: Steering LLM-based Kernel Optimization via Hardware-Aware Multi-Armed Bandits

2025-11-24 · Dezhi Ran, Shuxiao Xie, Mingfang Ji, Anmin Liu 외 arxiv

High-performance GPU kernels are critical for efficient LLM serving, yet their optimization remains a bottleneck requiring deep system expertise. While code LLMs show promise in generating functionally correct code, kern…

Multi-Armed Bandits

MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation

2025-07-20 · Zhongzhen Wen, Yinghui Zhang, Zhong Li, Zhongxin Liu 외 arxiv

The automatic generation of deep learning (DL) kernels using large language models (LLMs) has emerged as a promising approach to reduce the manual effort and hardware-specific expertise required for writing high-performa…

KernelFoundry: Hardware-aware evolutionary GPU kernel optimization

2026-03-12 · Nina Wiedemann, Quentin Leboutet, Michael Paulitsch, Diana Wofk 외 arxiv

Optimizing GPU kernels presents a significantly greater challenge for large language models (LLMs) than standard code generation tasks, as it requires understanding hardware architecture, parallel optimization strategies…

Code Generation

AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Units

2026-01-12 · Xinzi Cao, Jianyang Zhai, Pengfei Li, Zhiheng Hu 외 arxiv

To meet the ever-increasing demand for computational efficiency, Neural Processing Units (NPUs) have become critical in modern AI infrastructure. However, unlocking their full potential requires developing high-performan…

Computational EfficiencyReinforcement LearningCode Generation

KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?

2026-07-22 · Peiyu Zang, Jian Tao, Jialing Zhang, Yichen Yuan 외 arxiv

Modern AI systems depend on specialized accelerator kernels, whose development is complicated by increasingly diverse operators and hardware. LLMs and agentic systems promise to automate this work, but existing evaluatio…