3 ms·
Additionally there is ongoing work for generating MLIR NVGPU from Python, see "Zero to Hero: Programming Nvidia Hopper Tensor Core with MLIR's NVGPU Dialect" fr
by pjmlp 2y ago
Additionally there is ongoing work for generating MLIR NVGPU from Python, see
"Zero to Hero: Programming Nvidia Hopper Tensor Core with MLIR's NVGPU Dialect" from 2024 EuroLLVM.
https://www.youtube.com/watch?v=V3Q9IjsgXvA https://www.youtube.com/watch?v=V3Q9IjsgXvA
NVidia not only made CUDA great for C, C++, Fortran, and any language with a PTX backend, they are now adding a couple of Python frameworks as DSL for GPU JITs into the mix.
Meanwhile competition is too busy trying to replicate CUDA C without the ecosystem.
- almostgotcaught 2y ago> Additionally there is ongoing work for generating MLIR NVGPU from Python This isn't on-going work - this is my work from last year. I'm not Guray but I'm one of the people that built out the python bindings in MLIR (and I helped him with his demo). I'm not doing it anymore except for ~once every 3 months (and that's mostly some small fix). Also note the PTX emission in LLVM is far behind what NVIDIA has internally.
- pjmlp 2y agoThanks for the clarification, and it looks great by the way.
- OutOfHere 2y agoIn fairness, I think replicating CUDA is the essential foundation of allowing tooling to run without much change.
- pjmlp 2y agoAs long as people don't fool themselves that doing that for CUDA C, or even CUDA C++, without everything else in regards to programming languages, IDE tooling, graphical debuggers, compute and graphical libraries, is enough.
- deleted 2y ago[deleted]