NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Hip: C++ Heterogeneous-Compute Interface for Portability (github.com)
isusmelj 2 days ago [-]
Is there anything like this also supporting other GPUs? Thinking of Apple Silicon or embedded ones in phones etc.
fursund 3 days ago [-]
Ygg2 3 days ago [-]
What is the relation between this and Zluda[1]?

[1]https://github.com/vosen/ZLUDA

TheCycoONE 3 days ago [-]
Since no one answered you, HIP is a compile time target, you use hipify to transform your cuda code, then you compile it with hipcc, and hopefully everything works; or you target HIP directly.

ZLUDA was a translation layer, ala wine for cuda applications.

Ygg2 3 days ago [-]
Thanks a thousand times over.
krapht 3 days ago [-]
HIP is something you can put in production and Zluda is a proof-of-concept?
Ygg2 3 days ago [-]
Ok, but it's that their only difference? Zluda was supported by AMD for some time. Is it just that Hip is currently more complete?
3836293648 3 days ago [-]
You using HIP was supported by AMD. Zluda was getting support from AMD. Not the same kind of support
Ygg2 3 days ago [-]
Yeah, I get it now. HIP converts CUDA code to HIP code, then converts that code to ROCm (AMD) or PTX(nVidia). Zluda converts CUDA code to PTX, but that CUDA license was changed during 2021 to prevent these kinds of efforts.

This is why AMD dropped all involvements with Zluda (they were contributing code to it).

spmurrayzzz 3 days ago [-]
There's no relation per se (apart from AMD once being involved, before asking the developer to take the project offline).

It is worth noting however that they accomplish their goals very differently. ZLUDA is now DoA-ware because of nvidia's use constraint in their license regarding translation layers. HIP doesn't have this issue.

almostgotcaught 3 days ago [-]
Lol that's like asking what's the difference between the empire state building and the shed in my backyard: one is the runtime that the company that owns/makes the GPUs has been building for 10 years and the other is a (good) solo project.
Ygg2 3 days ago [-]
Well, god forbid people ask questions.
3 days ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 12:35:38 GMT+0000 (Coordinated Universal Time) with Vercel.