3 ms·
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.
by anotherhue 3y ago
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.
- ssijak 3y agowhy no CUDA rosetta?
- JonChesterfield 3y agoNvidia 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.
- c0n5pir4cy 3y agoAMD 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://github.com/ROCm/HIP) ²(https://pytorch.org/blog/experience-power-pytorch-2.0/ https://pytorch.org/blog/experience-power-pytorch-2.0/)