Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CUDA is at the API level (ish, I know). There's plenty of room for new silicon that can expose different APIs.

Compare to switching from x86 to ARM.



why no CUDA rosetta?


AMD has released HIP and a tool called HIPIFY which kind of behaves like this but at the source level¹. Rather than try and just translate CUDA to work on AMD compute they are more focused on higher level tooling.

Currently they seem to have a particular focus on AI frameworks and tools like PyTorch/Tensorflow/ONNX. They have sponsored and helped with a lot of PyTorch development for example, so PyTorch support for AMD is much better than it was this time last year².

¹(https://github.com/ROCm/HIP)

²(https://pytorch.org/blog/experience-power-pytorch-2.0/)


Nvidia could build that but doesn't want it to exist. Outside of nvidia you'd have to reverse engineer their machine code which would be a massive undertaking. The ISA ISA is published by AMD and Intel, you could build tooling from the docs alone if you wish.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: