ROCm/rocm_smi_lib

driverInitialized check not valid

mrusme opened this issue · 3 comments

This check is not valid since one can have the GPU module baked into the kernel. In that case, lsmod//proc/modules won't report it.

Fixed as of 9f6614e. Please reopen if you disagree :)

Hi @dmitrii-galantsev could you check #189 out? It's based on @littlewu2508's #104 and simplifies the code a bit by not spawning a shell, as @keryell mentioned in that PR.

I patched my rocm-smi with this:
image
(Ignore the weird path, just Gentoo things)

It works correctly:
image

My AMDGPU is built-in:
image