Support Fedoras standard ROCm location

This commit is contained in:
Daniel Hiltgen 2024-05-01 15:47:12 -07:00
parent bf4fc25f7b
commit e592e8fccb
4 changed files with 10 additions and 8 deletions

View file

@ -81,8 +81,10 @@ func commonAMDValidateLibDir() (string, error) {
}
// Well known location(s)
if rocmLibUsable(RocmStandardLocation) {
return RocmStandardLocation, nil
for _, path := range RocmStandardLocations {
if rocmLibUsable(path) {
return path, nil
}
}
// Installer payload location if we're running the installed binary