ROCT-Thunk-Interface
ROCT-Thunk-Interface copied to clipboard
Improve finding rocm-smi
On Fedora, rocm-smi is a standard package and is installed to /usr/bin So when run_kfdtest.sh is run this error is produced
find: ‘/opt/rocm*’: No such file or directory
First redirect stderr to dev/null on the original search. Then fall back to either looking for rocm-smi in BIN_DIR or look for it in the PATH.
This has been merged into the upcoming release, thanks!
FYI it'll actually land over here because we're moving this into rocr: https://github.com/ROCm/ROCR-Runtime/commits/amd-staging/
There's a slight delay to mirror from internal to external git.