BarraCUDA Open-source CUDA compiler targeting AMD GPUs
SMRTR summary
BarraCUDA is an open-source compiler written in 15,000 lines of C99 code that directly converts CUDA source files to machine code for AMD RDNA 3 GPUs without requiring LLVM or translation layers. The compiler supports core CUDA features including shared memory, atomic operations, warp intrinsics, and cooperative groups, successfully compiling 35+ test kernels. While functional gaps remain like compound assignment operators and const qualifiers, the project demonstrates a complete toolchain that bypasses NVIDIA's ecosystem entirely.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article