CASS: Nvidia to AMD Transpilation with Data, Models, and Benchmark
Not on the map. Why?
Abstract (arXiv)
Cross-architecture GPU code transpilation is essential for unlocking low-level hardware portability, yet no scalable solution exists. We introduce CASS, the first dataset and model suite for source- and assembly-level GPU translation (CUDA <--> HIP, SASS <--> RDNA3). CASS contains 60k verified host-device code pairs, enabling learning-based translation across both ISA and runtime boundaries. We generate each sample using our automated pipeline that scrapes, translates, compiles, and aligns GPU programs across vendor stacks. Leveraging CASS, we train a suite of domain-specific translation models that achieve 88.2% accuracy on CUDA -> HIP and 69.1% on SASS -> RDNA3, outperforming commercial baselines including GPT-5.1, Claude-4.5, and Hipify by wide margins. Generated code matches native performance in 85% of cases, preserving both runtime and memory behavior. To support rigorous evaluation, we introduce CASS-Bench, a curated benchmark spanning 18 GPU domains with ground-truth execution. All data, models, and evaluation tools will be released as open source to support progress in GPU compiler tooling, binary compatibility, and LLM-guided code translation.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 9 of its 43 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
9 of 43 references.
References · 9
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2024GPT-4o System Cardcited by 4,588
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
- 2024Testing GPU Numerics: Finding Numerical Differences Between NVIDIA and AMD GPUscited by 5
- 2023Guess & Sketch: Language Model Guided Transpilationcited by 3
- 2024From CISC to RISC: language-model guided assembly transpilationcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.