driverInitialized check not valid
mrusme opened this issue · 3 comments
mrusme commented
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.
littlewu2508 commented
ROCm/rocminfo#42 (comment) may help
dmitrii-galantsev commented
Fixed as of 9f6614e. Please reopen if you disagree :)
LtdJorge commented
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:
(Ignore the weird path, just Gentoo things)