Hacker News new | past | comments | ask | show | jobs | submit login
AMD Hip SDK: Making CUDA Applications Run Across Consumer, Pro GPUs and APUs (phoronix.com)
22 points by bratao on Aug 5, 2023 | hide | past | favorite | 5 comments



  > *Making CUDA Applications Run if you port them to HIP SDK


HIP is an API equivalent to CUDA. The kernel code is identical. The host code is the same API with a change from the CUDA to HIP namespace. This seems to be an extremely minimal form of 'porting'.


Right. I can't speak to its correctness/completeness as I've only done a quick installation and smoke test of the ROCm/HIP/MIOpen stack, but there's even a tool that automates the translation [1].

[1] https://github.com/ROCm-Developer-Tools/HIPIFY


Exactly. I heard recently the Lumi supercomputer team converted loads of scientific code from CUDA to Hip to run on MI250, and apparently it was pretty seamless, so a strong sign this approach works


Fantastic, now I look like a fool :D

But on the bright side your comment made me quite deeply interested in this.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: