Hacker News new | past | comments | ask | show | jobs | submit login

I've written a bit of CUDA before. If I want to go pretty bare-bones, what's the equivalent setup for writing code for my AMD card?



HIP works very similarly. Install rocm from your Linux distribution or from amd's repo, or build it from github.com/rocm. Has the nice feature of being pure userspace if you use the driver version that's already in your kernel.

How turn-key / happy an experience that is depends on how closely your system correlates with one of the documented/tested distro versions and what GPU you have. If it's one that doesn't have binary versions of rocblas etc in the binary blob, either build rocm from source or don't bother with rocblas.




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

Search: