Skip to content

Commit

Permalink
Promote rocm-rel-6.2 (50b662a) into rocm-rel-6.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
auto-promote committed Sep 20, 2024
1 parent c504539 commit cab2269
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/offline-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ ROCm versions enabled for each distro.
| Suse 15.5 | Yes | No | No | No | Yes | Yes | Yes | Yes | Yes | Yes |
| Suse 15.6 | No | No | No | No | No | No | No | No | No | Yes |

## Rocm Usecases Support Notes

`multimediasdk` is not supported on ROCm 5.7.3 and on 6.2+

## Building

### Prerequisites
Expand Down
5 changes: 4 additions & 1 deletion src/offline-installer/UI/src/rocm_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,9 +833,12 @@ bool is_ubuntu_2004(MENU_DATA *pMenuData)
return is_distro_id_and_distro_version(pMenuData, "ubuntu", "20.04");
}

// multimedia supported on all rocm versions except 5.7.3 and 6.2+
bool is_mutlimediasdk_enabled(const char *ROCMVersion)
{
return strcmp(ROCMVersion, "5.7.3") == 0 ? false : true;
return ( ( strcmp(ROCMVersion, "5.7.3") == 0 ) ||
( strcmp(ROCMVersion, "6.2") == 0 ) ||
( strcmp(ROCMVersion, "6.2.1") == 0 ) ) ? false : true;
}

bool is_rocm_version_empty(MENU_DATA *pMenuData)
Expand Down
2 changes: 1 addition & 1 deletion src/offline-installer/scripts/el/create-offline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ setup_installer_public_repos() {

$SUDO chmod 644 ./$AMDGPU_INSTALL_NAME

$SUDO dnf download --downloadonly --resolve --downloaddir="./$CREATE_INSTALLER_PACKAGE_DIR" install ./$AMDGPU_INSTALL_NAME
$SUDO dnf download --downloadonly --resolve --downloaddir="./$CREATE_INSTALLER_PACKAGE_DIR" ./$AMDGPU_INSTALL_NAME

# Install amdgpu-install for host installer creation
$SUDO dnf clean all
Expand Down

0 comments on commit cab2269

Please sign in to comment.