paper-with-me

홈 › Papers

CASS: Nvidia to AMD Transpilation with Data, Models, and Benchmark

2025-05-22 · Ahmed Heakl, Sarim Hashmi, Gustavo Bertolo Stahl, Seung Hun Eddie Han, Salman Khan, Abdulrahman Mahmoud

We introduce CASS, the first large-scale dataset and model suite for cross-architecture GPU code transpilation, targeting both source-level (CUDA <--> HIP) and assembly-level (Nvidia SASS <--> AMD RDNA3) translation. The dataset comprises 70k verified code pairs across host and device, addressing a critical gap in low-level GPU code portability. Leveraging this resource, we train the CASS family of domain-specific language models, achieving 95% source translation accuracy and 37.5% assembly translation accuracy, substantially outperforming commercial baselines such as GPT-4o, Claude, and Hipify. Our generated code matches native performance in over 85% of test cases, preserving runtime and memory behavior. To support rigorous evaluation, we introduce CASS-Bench, a curated benchmark spanning 16 GPU domains with ground-truth execution. All data, models, and evaluation tools are released as open source to foster progress in GPU compiler tooling, binary compatibility, and LLM-guided hardware translation.

📄 PDF Abstract BibTeX arXiv:2505.16968

Code (1)

gustavostahl/cass 공식 구현 pytorch

Tasks

GPUTranslation

Similar Papers 제목 키워드 기반

HPCTransCompile: An AI Compiler Generated Dataset for High-Performance CUDA Transpilation and LLM Preliminary Exploration

2025-06-12 · Jiaqi Lv, Xufeng He, Yanchen Liu, Xu Dai 외

The rapid growth of deep learning has driven exponential increases in model parameters and computational demands. NVIDIA GPUs and their CUDA-based software ecosystem provide robust support for parallel computing, signifi…

CPUData Augmentation

ADELT: Transpilation Between Deep Learning Frameworks

2023-03-07 · Linyuan Gong, Jiayi Wang, Alvin Cheung

We propose the Adversarial DEep Learning Transpiler (ADELT), a novel approach to source-to-source transpilation between deep learning frameworks. ADELT uniquely decouples code skeleton transpilation and API keyword mappi…

Deep Learning

C2RUST-BENCH: A Minimized, Representative Dataset for C-to-Rust Transpilation Evaluation

2025-04-21 · Melih Sirlanci, Carter Yagemann, Zhiqiang Lin

Despite the effort in vulnerability detection over the last two decades, memory safety vulnerabilities continue to be a critical problem. Recent reports suggest that the key solution is to migrate to memory-safe language…

Vulnerability Detection

CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilation

2025-04-21 · Anirudh Khatry, Robert Zhang, Jia Pan, Ziteng Wang 외

C-to-Rust transpilation is essential for modernizing legacy C code while enhancing safety and interoperability with modern Rust ecosystems. However, no dataset currently exists for evaluating whether a system can transpi…

Code Translation

CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corpora

2026-04-20 · Shangyu Li, Juyong Jiang, Meibo Ren, Sizhe Zhong 외 arxiv

Transpilation, or code translation, aims to convert source code from one programming language (PL) to another. It is beneficial for many downstream applications, from modernizing large legacy codebases to augmenting data…

Reinforcement LearningCode Translation