tinygrad / gpuctypes

ctypes wrappers for HIP, CUDA, and OpenCL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need a better way to detect paths to HIP libraries

xelibrion opened this issue · comments

On non-Debian OS, paths seem to be different. I'm on Gentoo and compiled HIP libraries are located in /usr/lib64/ folder instead of /opt/rocm/lib/.

Interestingly, ctypes.util.find_library(...) does not work the same way it does for CUDA libraries for me, returning None.

Similar for Fedora.