Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by whizzter on Tuesday February 17, 2026 @05:00PM
(#47054034)
Not familiar with CUDA development, but doesn't CUDA support C++ ? Skipping Clang/LLVM and going "pure" C seems to be quite limiting in that case.
[ Parent
| on HN ]
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by hackyhacky on Tuesday February 17, 2026 @06:33PM
(#47055002)
Honestly I'm not sure how good is LLVM's support for AMD GX11 machine code. It's a pretty niche backend. Even if it exists, it may not produce ideal output. And it's a huge dependency.
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by bri3d on Tuesday February 17, 2026 @09:03PM
(#47056172)
Quite good, it’s first party supported by AMD (ROCm LLVM, with a lot upstreamed as well) where it’s fairly widely used in production.
This project is a super cool hobby/toy project but ZLUDA is the “right” drop in CUDA replacement for almost any practical use case.
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by woctordho on Wednesday February 18, 2026 @11:33PM
(#47069950)
I'd say it's pretty good on supported GPUs (gfx 9 and 12). Things like hipcc and Triton all work on top of it. But on gfx 11 there is still a lot to optimize.
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by h4kunamata on Tuesday February 17, 2026 @06:07PM
(#47054747)
Real developer never depended on AI to write good quality code, in fact, the amount of slope code flying left and right is due to LLM.
Open-source projects are being inundated with PR from AIs, not depending on them doesn't limit a project.
That project owner seems pretty knowledgeable of what is going on and keeping it free of dependencies is not an easy skill. Many developers would have written the code with tons of dependency and copy/paste from LLM. Some call the later coding :)
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by gsora on Tuesday February 17, 2026 @06:13PM
(#47054794)
LLVM and LLM are not the same thing
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by brookman64k on Tuesday February 17, 2026 @06:17PM
(#47054845)
LLVM (Low Level Virtual Machine) != LLM (Large Language Model)
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by woctordho on Tuesday February 17, 2026 @10:34PM
(#47056837)
I'm also wondering this. The compiler itself is written in C99, but looking from the tests, it can parse some C++ features such as templates.
Re:BarraCUDA Open-source CUDA compiler targeting AMD GPUs
by ZaneHam on Wednesday February 18, 2026 @12:28AM
(#47057516)
Im parsing the features of c++ CUDA actually uses, not the full c++ spec as that would take a very large amount of time. The Compiler itself being written in c99 is just because that's how I write my C and is a separate thing.