fix linux

This commit is contained in:
Seunghoon Lee
2024-07-22 15:33:04 +09:00
parent 0284c77ae5
commit 7fff2a76cd
+1 -1
View File
@@ -86,7 +86,7 @@ else:
return resolve_link("/opt/rocm")
def get_version() -> str:
arr = spawn(f"{os.path.join(path, 'hipconfig')} --version").split(".")
arr = spawn(f"{os.path.join(path, 'bin', 'hipconfig')} --version").split(".")
return f'{arr[0]}.{arr[1]}' if len(arr) >= 2 else None
def get_agents() -> List[str]: