ROCT-Thunk-Interface icon indicating copy to clipboard operation
ROCT-Thunk-Interface copied to clipboard

Improve finding rocm-smi

Open trixirt opened this issue 1 year ago • 2 comments

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.

trixirt avatar Aug 30 '24 20:08 trixirt

This has been merged into the upcoming release, thanks!

Mystro256 avatar Sep 04 '24 13:09 Mystro256

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.

Mystro256 avatar Sep 04 '24 14:09 Mystro256