Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set ROCM_ROOT to ROCM_PATH when it exist (deepmodeling#4150)
This small commit closes issue deepmodeling#4149 by checking if `rocm_root` is not set, and then inferring it from `rocm_path`, if it exists. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced flexibility in retrieving the ROCM root directory by checking both `ROCM_ROOT` and `ROCM_PATH` environment variables. - Updated installation documentation to clarify the fallback mechanism for locating the ROCM toolkit, ensuring users have clear guidance on configuration options. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Sigbjørn Løland Bore <31211370+sigbjobo@users.noreply.github.com>
- Loading branch information