Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Apr 30, 2024
1 parent 89e60b8 commit 674c5ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/zluda_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def make_copy(zluda_path: os.PathLike):


def load(zluda_path: os.PathLike):
hip_path_default = r'C:\Program Files\AMD\ROCm\5.7'
program_files = os.environ.get('ProgramFiles', r'C:\Program Files')
hip_path_default = rf'{program_files}\AMD\ROCm\5.7'
if not os.path.exists(hip_path_default):
hip_path_default = None
hip_path = os.environ.get('HIP_PATH', hip_path_default)
Expand Down

0 comments on commit 674c5ca

Please sign in to comment.