GPU Program Support on RISC-V GPU
Talkat RISC-V Summit North America 2024 · on Wednesday, 2024-10-23· at 13:55· Grand Ballroom G (Level 1)·
summary
A usable stack that runs CUDA on CPUs and RISC-V combines an LLVM-based kernel transform pipeline with an open-source CUDA runtime and target-specific backends. The system, called CUP framework, collapses CUDA thread grids into loops, turns thread-local storage into arrays, maps CUDA memory spaces to host memory, and implements floating-point atomics either via LR/SC lock conversions or by adding ISA support. A RISC-V GPU prototype Vortex uses minimal ISA extensions (spawn, thread‑mask, split/join, bar, texture); 30–40 kernels run end-to-end and manual intrinsics give measurable vectorization speedups, but proprietary libs like cuDNN block full ML coverage.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 2:08Vortex project overview
- 7:47Vectorization challenges
- 9:15SIMT architecture proposal
- 11:23CUDA support on Vortex
- 13:54ML workload limitations
- 15:18Future work and updates
- 16:00Q&A
related talks
20mRISC V Software State of the Union
19mRISC V ISA & Foundation Overview
36mAccelerate RISC-V Instruction Set Simulation by Tiered JIT Compilation
19mRISC V For Heterogeneous Computing
24mRISC V LLVM: Towards A Production-Ready LLVM-Based Toolchain
14mRISC-V for Gaming: Emulating X86 on RISC-V
36mPorting ML to RISC‑V: How Not to Lose Performance
28mGHC’s RISC-V Native Code Generation Backend
