paper-with-me

홈 › Papers

CUDABench: Benchmarking LLMs for Text-to-CUDA Generation

2026-02-13 · Jiace Zhu, Wentao Chen, Qi Fan, Zhixing Ren, Junying Wu, Xing Zhe Chai, Chotiwit Rungrueangwutthinon, Yehan Ma, An Zou arxiv

Recent studies have demonstrated the potential of Large Language Models (LLMs) in generating GPU Kernels. Current benchmarks focus on the translation of high-level languages into CUDA, overlooking the more general and challenging task of text-to-CUDA generation. Furthermore, given the hardware-specific and performance-critical features of GPU programming, accurately assessing the performance of LLM-generated GPU programs is nontrivial. In this work, we introduce CUDABench, a comprehensive benchmark designed to evaluate the text-to-CUDA capabilities of LLMs. First, we construct CUDABench-Set, which covers Breadth-Depth-Difficulty evaluation space in diverse application domains, including artificial intelligence, scientific computing, and data analytics, etc. Furthermore, we propose CUDABench-Score and Generative Verification Pipeline that assess (1) compilation correctness, (2) functional consistency through execution-based verification, and (3) a novel roofline-based metric, Performance-Score. Benchmarking state-of-the-art LLMs reveals insightful findings and challenges of text-to-CUDA, such as a notable mismatch between high compilation success rates and low functional correctness, a lack of domain-specific algorithmic knowledge, and suboptimal utilization of GPU hardware resources. Our benchmark is available at https://github.com/CUDA-Bench/CUDABench.

📄 PDF Abstract BibTeX arXiv:2603.02236

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization

2025-09-16 · Robert Tjarko Lange, Qi Sun, Aaditya Prasad, Maxence Faldor 외 arxiv

Recent advances in large language models (LLMs) demonstrate their effectiveness in scaling test-time compute for software engineering tasks. However, these approaches often focus on high-level solutions, with limited att…

CUDABeaver: Benchmarking LLM-Based Automated CUDA Debugging

2026-05-08 · Shiyang Li, Haoyang Chen, Mattia Fazzini, Caiwen Ding arxiv

Debugging CUDA programs has long been challenging because failures often arise from subtle interactions among hardware behavior, compiler decisions, memory hierarchy, and asynchronous execution. More importantly, with th…

DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels

2026-02-12 · Haolei Bai, Lingcheng Kong, Xueyi Chen, Jianmian Wang 외 arxiv

Diffusion large language models (dLLMs) have emerged as a compelling alternative to autoregressive (AR) LLMs, owing to their capacity for parallel token generation. This paradigm is particularly well-suited for code gene…

Reinforcement LearningCode Generation

CUDAHercules: Benchmarking Hardware-Aware Expert-level CUDA Optimization for LLMs

2026-05-08 · Shiyang Li, Zijian Zhang, Guangyan Sun, Yuebo Luo 외 arxiv

Large language models show promise for automated CUDA programming, however even the strongest coding models (e.g., Claude-Opus-4.6) may still fall short of expert-level, architecture-aware optimization. We introduce CUDA…

Platform-Agnostic Modular Architecture for Quantum Benchmarking

2025-10-09 · Neer Patel, Anish Giri, Hrushikesh Pramod Patil, Noah Siekierski 외 arxiv

We present a platform-agnostic modular architecture that addresses the increasingly fragmented landscape of quantum computing benchmarking by decoupling problem generation, circuit execution, and results analysis into in…

Reinforcement Learning