Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanity check amdgpu module is loaded in rocm_smi.py
Instead of check /proc/modules for amdgpu, the code will check /sys/module/amdgpu/initstate which covers the case when the driver is compiled into the kernel. Change-Id: Id39ec5b0eb9b68204bc9f5f779057ba8cc090bdc
- Loading branch information