├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── linting.yml │ ├── promote_develop_install_into_mainline.yml │ ├── promote_develop_to_external.yml │ ├── promote_mainline_into_develop.yml │ └── promote_rocm_rel_to_external.yml ├── .gitignore ├── .markdownlint-cli2.yaml ├── .readthedocs.yaml ├── .wordlist.txt ├── LICENSE ├── README.md ├── docs ├── conf.py ├── data │ ├── amd-logo.png │ ├── conceptual │ │ ├── TextClassification-3.png │ │ ├── TextClassification-4.png │ │ ├── TextClassification-5.png │ │ ├── TextClassification-6.png │ │ ├── TextClassification-7.png │ │ ├── gpu-arch │ │ │ ├── image001.png │ │ │ ├── image002.png │ │ │ ├── image003.png │ │ │ ├── image004.png │ │ │ ├── image005.png │ │ │ └── image006.png │ │ ├── image018.png │ │ ├── inception-v3.png │ │ ├── mnist-1.png │ │ ├── mnist-2.png │ │ ├── mnist-3.png │ │ ├── mnist-4.png │ │ └── mnist-5.png │ ├── contribute │ │ └── github-docs-build.png │ ├── how-to │ │ ├── gpu-enabled-mpi-1.png │ │ ├── mi300-passthrough │ │ │ └── vfio-image.png │ │ ├── rocm-offline-installer-1-main-menu.png │ │ ├── rocm-offline-installer-2-create-install-options.png │ │ ├── rocm-offline-installer-3-rocm-options.png │ │ ├── rocm-offline-installer-4-driver-options.png │ │ ├── rocm-offline-installer-5-extra-packages.png │ │ ├── rocm-offline-installer-6-post-install.png │ │ ├── rocm-offline-installer-7-configuration-1.png │ │ ├── rocm-offline-installer-8-configuration-2.png │ │ ├── rocm-offline-installer-9-configuration-3.png │ │ ├── rocm-runfile-driver-menu-4.png │ │ ├── rocm-runfile-main-menu-1.png │ │ ├── rocm-runfile-postinstall-menu-5.png │ │ ├── rocm-runfile-preinstall-menu-2.png │ │ ├── rocm-runfile-rocm-menu-3.png │ │ ├── rocm-runfile-rocm-menu-uninstall-3b.png │ │ └── tuning-guides │ │ │ ├── tuning001.png │ │ │ ├── tuning002.png │ │ │ ├── tuning003.png │ │ │ ├── tuning004.png │ │ │ ├── tuning005.png │ │ │ ├── tuning006.png │ │ │ ├── tuning008.png │ │ │ ├── tuning009.png │ │ │ ├── tuning010.png │ │ │ ├── tuning011.png │ │ │ ├── tuning012.png │ │ │ ├── tuning013.png │ │ │ ├── tuning014.png │ │ │ ├── tuning015.png │ │ │ └── tuning016.png │ ├── install │ │ ├── linux │ │ │ ├── linux001.png │ │ │ ├── linux002.png │ │ │ └── linux003.png │ │ ├── magma-install │ │ │ ├── magma005.png │ │ │ └── magma006.png │ │ └── tensorflow-install │ │ │ ├── tensorflow-test-output.png │ │ │ ├── tensorflow-training-example-evaluate.png │ │ │ └── tensorflow-training-example.png │ └── unused-images │ │ ├── _005-deselect-all-windows.png │ │ ├── _006-component-options-sdk-core-windows.png │ │ ├── _007-component-options-libraries-windows.png │ │ ├── _008-component-options-rtc-windows.png │ │ ├── _009-component-options-rt-windows.png │ │ ├── _010-component-options-vs-plugin-windows.png │ │ ├── _011-component-options-radeon-software-windows.png │ │ ├── _Deep Learning Image 1.png │ │ ├── _Install PyTorch using wheels Package.png │ │ ├── _Machine Learning.png │ │ ├── _Matrix-1.png │ │ ├── _Matrix-2.png │ │ ├── _Matrix-3.png │ │ ├── _Model In.png │ │ ├── _Pytorch 11.png │ │ ├── _Text Classification 1.png │ │ ├── _Text Classification 2.png │ │ ├── _Text Classification 3.png │ │ ├── _Text Classification 4.png │ │ ├── _Text Classification 5.png │ │ ├── _image.007-tuning.png │ │ ├── _mnist 4.png │ │ ├── _mnist 5.png │ │ ├── _with_pytorch.png │ │ └── _with_tensorflow.png ├── how-to │ ├── docker.rst │ └── spack.rst ├── index.rst ├── install │ ├── 3rd-party │ │ ├── jax-install.rst │ │ ├── pytorch-install.rst │ │ └── tensorflow-install.rst │ ├── amdgpu-install.rst │ ├── detailed-install.rst │ ├── install-methods │ │ ├── amdgpu-installer-index.rst │ │ ├── amdgpu-installer │ │ │ ├── amdgpu-installer-azl.rst │ │ │ ├── amdgpu-installer-debian.rst │ │ │ ├── amdgpu-installer-ol.rst │ │ │ ├── amdgpu-installer-rhel.rst │ │ │ ├── amdgpu-installer-sles.rst │ │ │ └── amdgpu-installer-ubuntu.rst │ │ ├── includes │ │ │ ├── amdgpu-installer-common.rst │ │ │ ├── debian-multi-install.rst │ │ │ ├── ol-multi-install.rst │ │ │ ├── rhel-multi-install.rst │ │ │ ├── sles-multi-install.rst │ │ │ └── ubuntu-multi-install.rst │ │ ├── multi-version-install-index.rst │ │ ├── multi-version-install │ │ │ ├── multi-version-install-azl.rst │ │ │ ├── multi-version-install-debian.rst │ │ │ ├── multi-version-install-ol.rst │ │ │ ├── multi-version-install-rhel.rst │ │ │ ├── multi-version-install-sles.rst │ │ │ └── multi-version-install-ubuntu.rst │ │ ├── package-manager-index.rst │ │ └── package-manager │ │ │ ├── package-manager-azl.rst │ │ │ ├── package-manager-debian.rst │ │ │ ├── package-manager-ol.rst │ │ │ ├── package-manager-rhel.rst │ │ │ ├── package-manager-sles.rst │ │ │ └── package-manager-ubuntu.rst │ ├── install-overview.rst │ ├── post-install.rst │ ├── prerequisites.rst │ ├── quick-start.rst │ ├── rocm-offline-installer.rst │ └── rocm-runfile-installer.rst ├── reference │ ├── install-faq.rst │ ├── package-manager-integration.rst │ ├── system-requirements.rst │ └── user-kernel-space-compat-matrix.rst └── sphinx │ ├── _toc.yml.in │ ├── requirements.in │ └── requirements.txt ├── pdm.lock ├── pyproject.toml ├── src └── offline-installer │ ├── CMakeLists.txt │ ├── README.md │ ├── UI │ ├── CMakeLists.txt │ ├── help_menus │ │ └── rocm_components_public.txt │ └── src │ │ ├── config.h │ │ ├── create_menu.c │ │ ├── create_menu.h │ │ ├── debug_ui.h │ │ ├── driver_menu.c │ │ ├── driver_menu.h │ │ ├── extras_menu.c │ │ ├── extras_menu.h │ │ ├── help_menu.c │ │ ├── help_menu.h │ │ ├── install_types.h │ │ ├── menu_data.c │ │ ├── menu_data.h │ │ ├── rocm_menu.c │ │ ├── rocm_menu.h │ │ ├── rocm_offline_ui.c │ │ ├── summary_menu.c │ │ ├── summary_menu.h │ │ ├── utils.c │ │ └── utils.h │ ├── VERSION │ ├── scripts │ ├── create-default.config │ ├── deb │ │ ├── cleanup-create.sh │ │ ├── create-offline.sh │ │ └── installer-package │ │ │ ├── cleanup-install.sh │ │ │ ├── install.sh │ │ │ ├── repo-offline-pin │ │ │ ├── repo-offline.list │ │ │ └── repo.gpg │ ├── el │ │ ├── cleanup-create.sh │ │ ├── create-offline.sh │ │ └── installer-package │ │ │ ├── cleanup-install.sh │ │ │ ├── install.sh │ │ │ └── repo-offline.repo │ ├── offline_init.sh │ └── sle │ │ ├── cleanup-create.sh │ │ ├── create-offline.sh │ │ └── installer-package │ │ ├── cleanup-install.sh │ │ ├── install.sh │ │ └── repo-offline.repo │ └── tests │ ├── CMakeLists.txt │ ├── create-test-driver-only-5.7.3.config │ ├── create-test-driver-only-6.0.2.config │ ├── create-test-driver-only-6.1.1.config │ ├── create-test-driver-only-6.1.2.config │ ├── create-test-driver-only-6.1.3.config │ ├── create-test-driver-only-6.1.config │ ├── create-test-driver-only-6.2.1.config │ ├── create-test-driver-only-6.2.2.config │ ├── create-test-driver-only-6.2.4.config │ ├── create-test-driver-only-6.2.config │ ├── create-test-hip-hiplibsdk-5.7.3.config │ ├── create-test-hip-hiplibsdk-6.0.2.config │ ├── create-test-hip-hiplibsdk-6.1.1.config │ ├── create-test-hip-hiplibsdk-6.1.2.config │ ├── create-test-hip-hiplibsdk-6.1.3.config │ ├── create-test-hip-hiplibsdk-6.1.config │ ├── create-test-hip-hiplibsdk-6.2.1.config │ ├── create-test-hip-hiplibsdk-6.2.2.config │ ├── create-test-hip-hiplibsdk-6.2.4.config │ ├── create-test-hip-hiplibsdk-6.2.config │ ├── create-test-rocm-driver-5.7.3.config │ ├── create-test-rocm-driver-6.0.2.config │ ├── create-test-rocm-driver-6.1.1.config │ ├── create-test-rocm-driver-6.1.2.config │ ├── create-test-rocm-driver-6.1.3.config │ ├── create-test-rocm-driver-6.1.config │ ├── create-test-rocm-driver-6.2.1.config │ ├── create-test-rocm-driver-6.2.2.config │ ├── create-test-rocm-driver-6.2.4.config │ ├── create-test-rocm-driver-6.2.config │ ├── create-test-rocm-graphics-5.7.3.config │ ├── create-test-rocm-graphics-6.0.2.config │ ├── create-test-rocm-graphics-6.1.1.config │ ├── create-test-rocm-graphics-6.1.2.config │ ├── create-test-rocm-graphics-6.1.3.config │ ├── create-test-rocm-graphics-6.1.config │ ├── create-test-rocm-graphics-6.2.1.config │ ├── create-test-rocm-graphics-6.2.2.config │ ├── create-test-rocm-graphics-6.2.4.config │ ├── create-test-rocm-graphics-6.2.config │ ├── create-test-rocm-only-5.7.3.config │ ├── create-test-rocm-only-6.0.2.config │ ├── create-test-rocm-only-6.1.1.config │ ├── create-test-rocm-only-6.1.2.config │ ├── create-test-rocm-only-6.1.3.config │ ├── create-test-rocm-only-6.1.config │ ├── create-test-rocm-only-6.2.1.config │ ├── create-test-rocm-only-6.2.2.config │ ├── create-test-rocm-only-6.2.4.config │ └── create-test-rocm-only-6.2.config └── tasks.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @ROCm/rocm-documentation 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "pip" # See documentation for possible values 9 | directory: "/docs/sphinx" # Location of package manifests 10 | open-pull-requests-limit: 10 11 | schedule: 12 | interval: "daily" 13 | versioning-strategy: increase 14 | labels: 15 | - "documentation" 16 | - "dependencies" 17 | reviewers: 18 | - "samjwu" 19 | -------------------------------------------------------------------------------- /.github/workflows/linting.yml: -------------------------------------------------------------------------------- 1 | name: Linting 2 | 3 | on: 4 | push: 5 | branches: 6 | - develop 7 | - main 8 | - 'docs/*' 9 | - 'roc**' 10 | pull_request: 11 | branches: 12 | - develop 13 | - main 14 | - 'docs/*' 15 | - 'roc**' 16 | 17 | jobs: 18 | call-workflow-passing-data: 19 | name: Documentation 20 | uses: ROCm/rocm-docs-core/.github/workflows/linting.yml@develop 21 | -------------------------------------------------------------------------------- /.github/workflows/promote_develop_install_into_mainline.yml: -------------------------------------------------------------------------------- 1 | name: Promote develop-install into mainline 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | Noop: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - name: echo Hello world 9 | run: echo "hello world" -------------------------------------------------------------------------------- /.github/workflows/promote_develop_to_external.yml: -------------------------------------------------------------------------------- 1 | name: Promote develop to external 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | Noop: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - name: echo Hello world 9 | run: echo "hello world" -------------------------------------------------------------------------------- /.github/workflows/promote_mainline_into_develop.yml: -------------------------------------------------------------------------------- 1 | name: Promote mainline into develop 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | Noop: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - name: echo Hello world 9 | run: echo "hello world" -------------------------------------------------------------------------------- /.github/workflows/promote_rocm_rel_to_external.yml: -------------------------------------------------------------------------------- 1 | name: Promote rocm-rel branch to external repo 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | Noop: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - name: echo Hello world 9 | run: echo "hello world" 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .venv 2 | .vscode 3 | # Ignore build directories we create 4 | /**build**/ 5 | # Ignore any offline installer packages we create 6 | *.run 7 | # Ignore the build binary of the rocm offline installer UI 8 | rocm_offline_ui 9 | # Ignore any packages we download when running the actual .run offline installer. 10 | */packages/* 11 | */installer-package/* 12 | 13 | 14 | 15 | # documentation artifacts 16 | _build/ 17 | _images/ 18 | _static/ 19 | _templates/ 20 | _toc.yml 21 | docBin/ 22 | _doxygen/ 23 | _readthedocs/ 24 | 25 | # macos specific things 26 | .DS_Store 27 | -------------------------------------------------------------------------------- /.markdownlint-cli2.yaml: -------------------------------------------------------------------------------- 1 | config: 2 | default: true 3 | MD004: 4 | style: asterisk 5 | MD013: false 6 | MD026: 7 | punctuation: '.,;:!' 8 | MD029: 9 | style: ordered 10 | MD033: false 11 | MD034: false 12 | MD041: false 13 | MD051: false 14 | ignores: 15 | - CHANGELOG.md 16 | - docs/CHANGELOG.md 17 | - "{,docs/}{RELEASE,release}.md" 18 | - tools/autotag/templates/**/*.md 19 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # Read the Docs configuration file 2 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 3 | 4 | version: 2 5 | 6 | sphinx: 7 | configuration: docs/conf.py 8 | 9 | formats: [htmlzip, pdf] 10 | 11 | python: 12 | install: 13 | - requirements: docs/sphinx/requirements.txt 14 | 15 | build: 16 | os: ubuntu-22.04 17 | tools: 18 | python: "3.10" 19 | -------------------------------------------------------------------------------- /.wordlist.txt: -------------------------------------------------------------------------------- 1 | ARI 2 | azurelinux 3 | BARs 4 | br 5 | Broadcom 6 | clinfo 7 | CTest 8 | checkboxes 9 | DDA 10 | debian 11 | denylist 12 | DHCP 13 | dkms 14 | dmesg 15 | DRM 16 | fw 17 | FW 18 | FWDEV 19 | GRE 20 | hostname 21 | hotplug 22 | IFWI 23 | IGP 24 | IIO 25 | IRQs 26 | KMD 27 | MACVTAP 28 | MSRs 29 | OL 30 | Packageless 31 | pci 32 | PLX 33 | preconfigured 34 | pst 35 | px 36 | radeon 37 | Repo 38 | rocHPL 39 | ROCmVersion 40 | rowspan 41 | Runfile 42 | SBR 43 | selectable 44 | SMCi 45 | SRIOV 46 | SVM 47 | SuperMicro 48 | tbody 49 | td 50 | thead 51 | TensorFlowVersion 52 | vCPU 53 | vfio 54 | VFIO 55 | vhost 56 | whl 57 | ub 58 | udev 59 | Udev 60 | sudo 61 | single-node 62 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ROCm installation documentation (Linux) 2 | 3 | This repository contains installation instructions for ROCm on Linux, along with installation-related 4 | information. 5 | 6 | For Windows-related installation information (HIP SDK), refer to the 7 | [Windows installation GitHub repository](https://github.com/ROCm/rocm-install-on-windows) or the 8 | [ROCm docs Windows install page](https://rocm.docs.amd.com/projects/install-on-windows/en/latest/). 9 | 10 | ## Building our documentation 11 | 12 | For a quick-start build, use the following code. For more options and detail, refer to 13 | [Building documentation](https://rocm.docs.amd.com/en/latest/contribute/building.html). 14 | 15 | ```bash 16 | cd docs 17 | 18 | pip3 install -r sphinx/requirements.txt 19 | 20 | python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html 21 | ``` 22 | 23 | ## Build using PDM 24 | 25 | You can also use [PDM](https://pdm-project.org/latest/#installation) to manage the build environment. 26 | 27 | * To create `venv` and install build requirements, use: `pdm sync` 28 | * To build the docs, use: `pdm run inv build` 29 | 30 | Now you can open `docs/_build/html/index.html` in your browser. 31 | 32 | ## ROCm Offline Installer Creator (Linux) 33 | 34 | This repository contains tools for installing ROCm on Linux including the ROCm Offline Installer 35 | Creator. Use this tool to create an offline installation of ROCm. 36 | [Offline Installer Creator](https://github.com/ROCm/rocm-install-on-linux-internal/tree/develop/src/offline-installer). 37 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- 1 | # Configuration file for the Sphinx documentation builder. 2 | # 3 | # This file only contains a selection of the most common options. For a full 4 | # list see the documentation: 5 | # https://www.sphinx-doc.org/en/master/usage/configuration.html 6 | 7 | # ROCm version numbers 8 | rocm_version = '6.4.1' 9 | rocm_multi_versions = '6.4.1 6.4' # in 6.3, the folder names on repo.radeon.com use 6.3 for minor releases 10 | rocm_multi_versions_package_versions = '6.4.1 6.4.0' # however, in multi, the packages use 6.3.0 11 | rocm_directory_version = '6.4.1' # in 6.0 rocm was located in /opt/rocm-6.0.0 12 | amdgpu_version = '6.4.1' # directory in https://repo.radeon.com/rocm/apt/ and https://repo.radeon.com/amdgpu-install/ 13 | amdgpu_install_version = '6.4.60401-1' # version in https://repo.radeon.com/amdgpu-install/6.0.2/ubuntu/jammy/ 14 | 15 | 16 | latex_engine = "xelatex" 17 | latex_elements = { 18 | "fontpkg": r""" 19 | \usepackage{tgtermes} 20 | \usepackage{tgheros} 21 | \renewcommand\ttdefault{txtt} 22 | """ 23 | } 24 | 25 | # configurations for PDF output by Read the Docs 26 | project = "ROCm installation on Linux" 27 | author = "Advanced Micro Devices, Inc." 28 | copyright = "Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved." 29 | version = "6.4.1" 30 | release = "6.4.1" 31 | setting_all_article_info = True 32 | all_article_info_os = ["linux"] 33 | all_article_info_author = "" 34 | 35 | # Supported linux version numbers 36 | ubuntu_version_numbers = [('24.04', 'noble'), ('22.04', 'jammy')] 37 | debian_version_numbers = [('12', 'jammy')] 38 | rhel_release_version_numbers = ['9', '8'] 39 | rhel_version_numbers = ['9.6', '9.5', '9.4', '8.10'] 40 | sles_version_numbers = ['15.6'] 41 | ol_release_version_numbers = ['9', '8'] 42 | ol_version_numbers = [('9.5'), ('8.10')] 43 | azl_version_numbers = ['3.0'] 44 | 45 | exclude_patterns = [ 46 | 'temp', 47 | 'install/install-methods/includes/rhel-multi-install.rst', 48 | 'install/install-methods/includes/sles-multi-install.rst', 49 | 'install/install-methods/includes/ubuntu-multi-install.rst', 50 | 'install/install-methods/includes/debian-multi-install.rst', 51 | 'install/install-methods/includes/ol-multi-install.rst', 52 | 'install/install-methods/includes/azl-multi-install.rst', 53 | 'install/install-methods/includes/amdgpu-installer-common.rst' 54 | ] 55 | 56 | external_toc_path = "./sphinx/_toc.yml" 57 | 58 | html_theme = "rocm_docs_theme" 59 | html_theme_options = {"flavor": "rocm-docs-home"} 60 | 61 | extensions = [ 62 | "rocm_docs", 63 | "sphinxcontrib.datatemplates", 64 | "sphinx_substitution_extensions", 65 | ] 66 | 67 | html_title = "ROCm installation (Linux)" 68 | 69 | external_projects_current_project = "rocm" 70 | 71 | # Add the following replacements to every RST file. 72 | rst_prolog = f""" 73 | .. |rocm_version| replace:: {rocm_version} 74 | .. |rocm_multi_versions| replace:: {rocm_multi_versions} 75 | .. |rocm_multi_versions_package_versions| replace:: {rocm_multi_versions_package_versions} 76 | .. |amdgpu_version| replace:: {amdgpu_version} 77 | .. |rocm_directory_version| replace:: {rocm_directory_version} 78 | .. |amdgpu_install_version| replace:: {amdgpu_install_version} 79 | """ 80 | 81 | html_theme_options = { 82 | "link_main_doc": True 83 | } 84 | 85 | html_context = { 86 | "ubuntu_version_numbers" : ubuntu_version_numbers, 87 | "debian_version_numbers" : debian_version_numbers, 88 | "sles_version_numbers" : sles_version_numbers, 89 | "rhel_release_version_numbers" : rhel_release_version_numbers, 90 | "rhel_version_numbers" : rhel_version_numbers, 91 | "ol_release_version_numbers" : ol_release_version_numbers, 92 | "ol_version_numbers" : ol_version_numbers, 93 | "azl_version_numbers": azl_version_numbers 94 | } 95 | 96 | footnote_backlinks = False 97 | -------------------------------------------------------------------------------- /docs/data/amd-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/amd-logo.png -------------------------------------------------------------------------------- /docs/data/conceptual/TextClassification-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/TextClassification-3.png -------------------------------------------------------------------------------- /docs/data/conceptual/TextClassification-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/TextClassification-4.png -------------------------------------------------------------------------------- /docs/data/conceptual/TextClassification-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/TextClassification-5.png -------------------------------------------------------------------------------- /docs/data/conceptual/TextClassification-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/TextClassification-6.png -------------------------------------------------------------------------------- /docs/data/conceptual/TextClassification-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/TextClassification-7.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image001.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image002.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image003.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image004.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image005.png -------------------------------------------------------------------------------- /docs/data/conceptual/gpu-arch/image006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/gpu-arch/image006.png -------------------------------------------------------------------------------- /docs/data/conceptual/image018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/image018.png -------------------------------------------------------------------------------- /docs/data/conceptual/inception-v3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/inception-v3.png -------------------------------------------------------------------------------- /docs/data/conceptual/mnist-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/mnist-1.png -------------------------------------------------------------------------------- /docs/data/conceptual/mnist-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/mnist-2.png -------------------------------------------------------------------------------- /docs/data/conceptual/mnist-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/mnist-3.png -------------------------------------------------------------------------------- /docs/data/conceptual/mnist-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/mnist-4.png -------------------------------------------------------------------------------- /docs/data/conceptual/mnist-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/conceptual/mnist-5.png -------------------------------------------------------------------------------- /docs/data/contribute/github-docs-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/contribute/github-docs-build.png -------------------------------------------------------------------------------- /docs/data/how-to/gpu-enabled-mpi-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/gpu-enabled-mpi-1.png -------------------------------------------------------------------------------- /docs/data/how-to/mi300-passthrough/vfio-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/mi300-passthrough/vfio-image.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-1-main-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-1-main-menu.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-2-create-install-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-2-create-install-options.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-3-rocm-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-3-rocm-options.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-4-driver-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-4-driver-options.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-5-extra-packages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-5-extra-packages.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-6-post-install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-6-post-install.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-7-configuration-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-7-configuration-1.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-8-configuration-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-8-configuration-2.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-offline-installer-9-configuration-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-offline-installer-9-configuration-3.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-driver-menu-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-driver-menu-4.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-main-menu-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-main-menu-1.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-postinstall-menu-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-postinstall-menu-5.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-preinstall-menu-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-preinstall-menu-2.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-rocm-menu-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-rocm-menu-3.png -------------------------------------------------------------------------------- /docs/data/how-to/rocm-runfile-rocm-menu-uninstall-3b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/rocm-runfile-rocm-menu-uninstall-3b.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning001.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning002.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning003.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning004.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning005.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning006.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning008.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning009.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning010.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning011.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning012.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning013.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning014.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning015.png -------------------------------------------------------------------------------- /docs/data/how-to/tuning-guides/tuning016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/how-to/tuning-guides/tuning016.png -------------------------------------------------------------------------------- /docs/data/install/linux/linux001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/linux/linux001.png -------------------------------------------------------------------------------- /docs/data/install/linux/linux002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/linux/linux002.png -------------------------------------------------------------------------------- /docs/data/install/linux/linux003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/linux/linux003.png -------------------------------------------------------------------------------- /docs/data/install/magma-install/magma005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/magma-install/magma005.png -------------------------------------------------------------------------------- /docs/data/install/magma-install/magma006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/magma-install/magma006.png -------------------------------------------------------------------------------- /docs/data/install/tensorflow-install/tensorflow-test-output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/tensorflow-install/tensorflow-test-output.png -------------------------------------------------------------------------------- /docs/data/install/tensorflow-install/tensorflow-training-example-evaluate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/tensorflow-install/tensorflow-training-example-evaluate.png -------------------------------------------------------------------------------- /docs/data/install/tensorflow-install/tensorflow-training-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/install/tensorflow-install/tensorflow-training-example.png -------------------------------------------------------------------------------- /docs/data/unused-images/_005-deselect-all-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_005-deselect-all-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_006-component-options-sdk-core-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_006-component-options-sdk-core-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_007-component-options-libraries-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_007-component-options-libraries-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_008-component-options-rtc-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_008-component-options-rtc-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_009-component-options-rt-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_009-component-options-rt-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_010-component-options-vs-plugin-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_010-component-options-vs-plugin-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_011-component-options-radeon-software-windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_011-component-options-radeon-software-windows.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Deep Learning Image 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Deep Learning Image 1.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Install PyTorch using wheels Package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Install PyTorch using wheels Package.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Machine Learning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Machine Learning.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Matrix-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Matrix-1.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Matrix-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Matrix-2.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Matrix-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Matrix-3.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Model In.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Model In.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Pytorch 11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Pytorch 11.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Text Classification 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Text Classification 1.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Text Classification 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Text Classification 2.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Text Classification 3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Text Classification 3.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Text Classification 4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Text Classification 4.png -------------------------------------------------------------------------------- /docs/data/unused-images/_Text Classification 5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_Text Classification 5.png -------------------------------------------------------------------------------- /docs/data/unused-images/_image.007-tuning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_image.007-tuning.png -------------------------------------------------------------------------------- /docs/data/unused-images/_mnist 4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_mnist 4.png -------------------------------------------------------------------------------- /docs/data/unused-images/_mnist 5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_mnist 5.png -------------------------------------------------------------------------------- /docs/data/unused-images/_with_pytorch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_with_pytorch.png -------------------------------------------------------------------------------- /docs/data/unused-images/_with_tensorflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/docs/data/unused-images/_with_tensorflow.png -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: ROCm installation for Linux 3 | :keywords: ROCm installation, AMD, ROCm, Package manager, AMDGPU 4 | 5 | .. _rocm-install-home: 6 | 7 | **************************************************************** 8 | ROCm installation for Linux 9 | **************************************************************** 10 | 11 | This section describes the ROCm for Linux installation options. 12 | 13 | .. note:: 14 | 15 | If you’re using ROCm with AMD Radeon or Radeon Pro GPUs for graphics workloads, see the `Use ROCm on Radeon GPU `_ documentation for installation instructions. 16 | 17 | 18 | .. grid:: 2 19 | :gutter: 3 20 | 21 | .. grid-item-card:: Install ROCm 22 | 23 | * :doc:`Quick start ` - recommended for new users 24 | * :doc:`Detailed install ` - includes explanations 25 | 26 | .. grid-item-card:: Install deep learning frameworks 27 | 28 | * :doc:`PyTorch ` 29 | * :doc:`TensorFlow ` 30 | * :doc:`JAX ` 31 | 32 | 33 | The documentation is structured as follows: 34 | 35 | .. grid:: 2 36 | :gutter: 3 37 | 38 | .. grid-item-card:: How to 39 | 40 | * :doc:`Run Docker containers ` 41 | * :doc:`Use Spack ` 42 | 43 | .. grid-item-card:: Reference 44 | 45 | * :doc:`reference/package-manager-integration` 46 | * :doc:`reference/system-requirements` 47 | * :doc:`Troubleshooting ` 48 | * :doc:`reference/user-kernel-space-compat-matrix` 49 | -------------------------------------------------------------------------------- /docs/install/detailed-install.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: ROCm installation options 3 | :keywords: ROCm installation, AMD, ROCm, Package manager, AMDGPU 4 | 5 | .. _detailed-install-overview: 6 | 7 | ************************************************************* 8 | ROCm on Linux detailed installation overview 9 | ************************************************************* 10 | 11 | To install ROCm, please follow these steps 12 | 13 | #. :doc:`Install and confirm prerequisites ` 14 | #. :doc:`Choose installation method ` 15 | #. :doc:`Complete post-installation steps ` 16 | 17 | If you have a problem with your ROCm on Linux installation, see :doc:`installation troubleshooting <../reference/install-faq>`. Also, consider sharing the problem in the `ROCm on Linux Github `_ repository in the `issues section `_. 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer-index.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Installation via AMDGPU installer 3 | :keywords: ROCm install, installation instructions, AMDGPU installer, AMD, 4 | ROCm 5 | 6 | ****************************************************************************** 7 | Installation via AMDGPU installer 8 | ****************************************************************************** 9 | 10 | Select the install instructions for your operating system 11 | 12 | .. grid:: 2 13 | :gutter: 3 14 | 15 | .. grid-item-card:: Install 16 | 17 | * :doc:`Ubuntu <./amdgpu-installer/amdgpu-installer-ubuntu>` 18 | * :doc:`Debian <./amdgpu-installer/amdgpu-installer-debian>` 19 | * :doc:`Red Hat Enterprise Linux <./amdgpu-installer/amdgpu-installer-rhel>` 20 | * :doc:`Oracle Linux <./amdgpu-installer/amdgpu-installer-ol>` 21 | * :doc:`SUSE Linux Enterprise Server <./amdgpu-installer/amdgpu-installer-sles>` 22 | * :doc:`Azure Linux <./amdgpu-installer/amdgpu-installer-azl>` 23 | 24 | .. grid-item-card:: Uninstall 25 | 26 | * :ref:`Ubuntu ` 27 | * :ref:`Debian ` 28 | * :ref:`Red Hat Enterprise Linux ` 29 | * :ref:`Oracle Linux ` 30 | * :ref:`SUSE Linux Enterprise Server ` 31 | * :ref:`Azure Linux ` 32 | 33 | 34 | 35 | 36 | See also: :doc:`/reference/system-requirements`. If you encounter install issues, you can refer to the 37 | :doc:`troubleshooting ` page. 38 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer/amdgpu-installer-debian.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Debian AMDGPU installer installation 3 | :keywords: installation instructions, AMDGPU, AMDGPU installer, AMD, ROCm, Debian, Debian AMDGPU installer installation 4 | 5 | ************************************************************************************* 6 | Debian AMDGPU installer installation 7 | ************************************************************************************* 8 | 9 | ``amdgpu-install`` is a tool that helps you install and update AMDGPU, ROCm, and ROCm components. 10 | 11 | .. note:: 12 | 13 | ROCm doesn't support integrated graphics. If your system has an 14 | AMD IGP installed, disable it in the BIOS prior to using ROCm. If the driver can 15 | enumerate the IGP, the ROCm runtime might crash the system, even if told to omit 16 | it via `HIP_VISIBLE_DEVICES `_. 17 | 18 | .. _debian-amdgpu-install-installation: 19 | 20 | Installation 21 | ================================================= 22 | 23 | .. caution:: 24 | 25 | Ensure that the :doc:`/install/prerequisites` are met before installing. 26 | 27 | .. datatemplate:nodata:: 28 | 29 | .. tab-set:: 30 | {% for (os_version, os_release) in config.html_context['debian_version_numbers'] %} 31 | .. tab-item:: Debian {{ os_version }} 32 | 33 | .. code-block:: bash 34 | :substitutions: 35 | 36 | sudo apt update 37 | wget https://repo.radeon.com/amdgpu-install/|amdgpu_version|/ubuntu/{{ os_release }}/amdgpu-install_|amdgpu_install_version|_all.deb 38 | sudo apt install ./amdgpu-install_|amdgpu_install_version|_all.deb 39 | sudo apt update 40 | {% endfor %} 41 | 42 | .. include:: ../includes/amdgpu-installer-common.rst 43 | 44 | 45 | .. _debian-amdgpu-install-uninstall: 46 | 47 | Uninstalling 48 | ================================================= 49 | 50 | Uninstalling amdgpu-install 51 | --------------------------------------------------------------------------- 52 | 53 | .. code-block:: bash 54 | 55 | sudo apt purge amdgpu-install 56 | sudo apt autoremove 57 | 58 | Uninstall specific meta packages 59 | --------------------------------------------------------------------------- 60 | 61 | .. code-block:: bash 62 | :substitutions: 63 | 64 | sudo apt autoremove rocm 65 | 66 | Uninstall ROCm packages 67 | --------------------------------------------------------------------------- 68 | 69 | .. code-block:: bash 70 | :substitutions: 71 | 72 | sudo apt autoremove rocm-core 73 | 74 | Cache cleanup 75 | --------------------------------------------------------------------------- 76 | 77 | .. code-block:: bash 78 | 79 | # Clear the cache and clean the system 80 | sudo rm -rf /var/cache/apt/* 81 | sudo apt clean all 82 | sudo apt update 83 | 84 | # Restart the system 85 | sudo reboot 86 | 87 | Additional options 88 | ================================================= 89 | 90 | * Unattended installation. 91 | 92 | Adding ``-y`` as a parameter to ``amdgpu-install`` skips user prompts (for automation). For example: 93 | 94 | .. code-block:: bash 95 | 96 | amdgpu-install -y --usecase=rocm 97 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer/amdgpu-installer-ol.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Oracle Linux AMDGPU installer installation 3 | :keywords: installation instructions, AMDGPU, AMDGPU installer, AMD, ROCm, Oracle Linux, Oracle Linux AMDGPU installer installation 4 | 5 | ************************************************************************************* 6 | Oracle Linux AMDGPU installer installation 7 | ************************************************************************************* 8 | 9 | ``amdgpu-install`` is a tool that helps you install and update AMDGPU, ROCm, and ROCm components. 10 | 11 | .. note:: 12 | 13 | ROCm doesn't support integrated graphics. If your system has an 14 | AMD IGP installed, disable it in the BIOS prior to using ROCm. If the driver can 15 | enumerate the IGP, the ROCm runtime might crash the system, even if told to omit 16 | it via `HIP_VISIBLE_DEVICES `_. 17 | 18 | .. _ol-amdgpu-install-installation: 19 | 20 | Installation 21 | ================================================= 22 | 23 | .. caution:: 24 | 25 | Ensure that the :doc:`/install/prerequisites` are met before installing. 26 | 27 | .. datatemplate:nodata:: 28 | 29 | .. tab-set:: 30 | {% for os_version in config.html_context['ol_version_numbers'] %} 31 | {% set os_major, _ = os_version.split('.') %} 32 | .. tab-item:: OL {{ os_major }} 33 | 34 | .. code-block:: bash 35 | :substitutions: 36 | 37 | sudo dnf install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/el/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.el{{ os_major }}.noarch.rpm 38 | {% endfor %} 39 | 40 | .. include:: ../includes/amdgpu-installer-common.rst 41 | 42 | 43 | .. _ol-amdgpu-install-uninstall: 44 | 45 | Uninstalling 46 | ================================================= 47 | 48 | Uninstalling amdgpu-install 49 | --------------------------------------------------------------------------- 50 | 51 | .. code-block:: bash 52 | 53 | sudo dnf remove amdgpu-install 54 | 55 | Uninstall specific meta packages 56 | --------------------------------------------------------------------------- 57 | 58 | .. code-block:: bash 59 | :substitutions: 60 | 61 | sudo dnf remove rocm 62 | 63 | Uninstall ROCm packages 64 | --------------------------------------------------------------------------- 65 | 66 | .. code-block:: bash 67 | :substitutions: 68 | 69 | sudo dnf remove rocm-core amdgpu-core 70 | 71 | Cache cleanup 72 | ================================================= 73 | 74 | .. code-block:: bash 75 | 76 | # Clear the cache and clean the system 77 | sudo rm -rf /var/cache/dnf 78 | sudo dnf clean all 79 | 80 | # Restart the system 81 | sudo reboot 82 | 83 | Additional options 84 | ================================================= 85 | 86 | * Unattended installation. 87 | 88 | Adding ``-y`` as a parameter to ``amdgpu-install`` skips user prompts (for automation). For example: 89 | 90 | .. code-block:: bash 91 | 92 | amdgpu-install -y --usecase=rocm 93 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer/amdgpu-installer-rhel.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Red Hat Enterprise Linux AMDGPU installer installation 3 | :keywords: installation instructions, AMDGPU, AMDGPU installer, AMD, ROCm, Red Hat Enterprise Linux, Red Hat Enterprise Linux AMDGPU installer installation 4 | 5 | ************************************************************************************* 6 | Red Hat Enterprise Linux AMDGPU installer installation 7 | ************************************************************************************* 8 | 9 | ``amdgpu-install`` is a tool that helps you install and update AMDGPU, ROCm, and ROCm components. 10 | 11 | .. note:: 12 | 13 | ROCm doesn't support integrated graphics. If your system has an 14 | AMD IGP installed, disable it in the BIOS prior to using ROCm. If the driver can 15 | enumerate the IGP, the ROCm runtime might crash the system, even if told to omit 16 | it via `HIP_VISIBLE_DEVICES `_. 17 | 18 | .. _rhel-amdgpu-install-installation: 19 | 20 | Installation 21 | ================================================= 22 | 23 | .. caution:: 24 | 25 | Ensure that the :doc:`/install/prerequisites` are met before installing. 26 | 27 | .. datatemplate:nodata:: 28 | 29 | .. tab-set:: 30 | {% for os_version in config.html_context['rhel_version_numbers'] %} 31 | {% set os_major, _ = os_version.split('.') %} 32 | .. tab-item:: RHEL {{ os_version }} 33 | 34 | .. code-block:: bash 35 | :substitutions: 36 | 37 | sudo dnf install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/rhel/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.el{{ os_major }}.noarch.rpm 38 | {% endfor %} 39 | 40 | .. include:: ../includes/amdgpu-installer-common.rst 41 | 42 | .. _rhel-amdgpu-install-uninstall: 43 | 44 | Uninstalling 45 | ================================================= 46 | 47 | Uninstalling amdgpu-install 48 | --------------------------------------------------------------------------- 49 | 50 | .. code-block:: bash 51 | 52 | sudo dnf remove amdgpu-install 53 | 54 | Uninstall specific meta packages 55 | --------------------------------------------------------------------------- 56 | 57 | .. code-block:: bash 58 | :substitutions: 59 | 60 | sudo dnf remove rocm 61 | 62 | Uninstall ROCm packages 63 | --------------------------------------------------------------------------- 64 | 65 | .. code-block:: bash 66 | :substitutions: 67 | 68 | sudo dnf remove rocm-core amdgpu-core 69 | 70 | Cache cleanup 71 | --------------------------------------------------------------------------- 72 | 73 | .. code-block:: bash 74 | 75 | # Clear the cache and clean the system 76 | sudo rm -rf /var/cache/dnf 77 | sudo dnf clean all 78 | 79 | # Restart the system 80 | sudo reboot 81 | 82 | Additional options 83 | ================================================= 84 | 85 | * Unattended installation. 86 | 87 | Adding ``-y`` as a parameter to ``amdgpu-install`` skips user prompts (for automation). For example: 88 | 89 | .. code-block:: bash 90 | 91 | amdgpu-install -y --usecase=rocm 92 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer/amdgpu-installer-sles.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: SUSE Enterprise Linux AMDGPU installer installation 3 | :keywords: installation instructions, AMDGPU, AMDGPU installer, AMD, ROCm, SUSE Enterprise Linux, SUSE Enterprise Linux AMDGPU installer installation 4 | 5 | ************************************************************************************* 6 | SUSE Enterprise Linux AMDGPU installer installation 7 | ************************************************************************************* 8 | 9 | ``amdgpu-install`` is a tool that helps you install and update AMDGPU, ROCm, and ROCm components. 10 | 11 | .. note:: 12 | 13 | ROCm doesn't support integrated graphics. If your system has an 14 | AMD IGP installed, disable it in the BIOS prior to using ROCm. If the driver can 15 | enumerate the IGP, the ROCm runtime might crash the system, even if told to omit 16 | it via `HIP_VISIBLE_DEVICES `_. 17 | 18 | .. _sles-amdgpu-install-installation: 19 | 20 | Installation 21 | ================================================= 22 | 23 | .. caution:: 24 | 25 | Ensure that the :doc:`/install/prerequisites` are met before installing. 26 | 27 | .. datatemplate:nodata:: 28 | 29 | .. tab-set:: 30 | {% for os_version in config.html_context['sles_version_numbers'] %} 31 | .. tab-item:: SLES {{ os_version }} 32 | 33 | .. code-block:: bash 34 | :substitutions: 35 | 36 | sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/sle/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.noarch.rpm 37 | {% endfor %} 38 | 39 | .. include:: ../includes/amdgpu-installer-common.rst 40 | 41 | 42 | .. _sles-amdgpu-install-uninstall: 43 | 44 | Uninstalling 45 | ================================================= 46 | 47 | Uninstalling amdgpu-install 48 | --------------------------------------------------------------------------- 49 | 50 | .. code-block:: bash 51 | 52 | sudo zypper remove amdgpu-install 53 | 54 | Uninstall specific meta packages 55 | --------------------------------------------------------------------------- 56 | 57 | .. code-block:: bash 58 | :substitutions: 59 | 60 | sudo zypper remove rocm 61 | 62 | Uninstall ROCm packages 63 | --------------------------------------------------------------------------- 64 | 65 | .. code-block:: bash 66 | :substitutions: 67 | 68 | sudo zypper remove rocm-core amdgpu-core 69 | 70 | Cache cleanup 71 | --------------------------------------------------------------------------- 72 | 73 | .. code-block:: bash 74 | 75 | # Clear the cache and clean the system 76 | sudo zypper clean --all 77 | sudo zypper refresh 78 | 79 | # Restart the system 80 | sudo reboot 81 | 82 | Additional options 83 | ================================================= 84 | 85 | * Unattended installation. 86 | 87 | Adding ``-y`` as a parameter to ``amdgpu-install`` skips user prompts (for automation). For example: 88 | 89 | .. code-block:: bash 90 | 91 | amdgpu-install -y --usecase=rocm 92 | -------------------------------------------------------------------------------- /docs/install/install-methods/amdgpu-installer/amdgpu-installer-ubuntu.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Ubuntu AMDGPU installer installation 3 | :keywords: installation instructions, AMDGPU, AMDGPU installer, AMD, ROCm, Ubuntu, Ubuntu AMDGPU installer installation 4 | 5 | ************************************************************************************* 6 | Ubuntu AMDGPU installer installation 7 | ************************************************************************************* 8 | 9 | ``amdgpu-install`` is a tool that helps you install and update AMDGPU, ROCm, and ROCm components. 10 | 11 | .. note:: 12 | 13 | ROCm doesn't support integrated graphics. If your system has an 14 | AMD IGP installed, disable it in the BIOS prior to using ROCm. If the driver can 15 | enumerate the IGP, the ROCm runtime might crash the system, even if told to omit 16 | it via `HIP_VISIBLE_DEVICES `_. 17 | 18 | .. _ubuntu-amdgpu-install-installation: 19 | 20 | Installation 21 | ================================================= 22 | 23 | .. caution:: 24 | 25 | Ensure that the :doc:`/install/prerequisites` are met before installing. 26 | 27 | .. datatemplate:nodata:: 28 | 29 | .. tab-set:: 30 | {% for (os_version, os_release) in config.html_context['ubuntu_version_numbers'] %} 31 | .. tab-item:: Ubuntu {{ os_version }} 32 | 33 | .. code-block:: bash 34 | :substitutions: 35 | 36 | sudo apt update 37 | wget https://repo.radeon.com/amdgpu-install/|amdgpu_version|/ubuntu/{{ os_release }}/amdgpu-install_|amdgpu_install_version|_all.deb 38 | sudo apt install ./amdgpu-install_|amdgpu_install_version|_all.deb 39 | sudo apt update 40 | {% endfor %} 41 | 42 | .. include:: ../includes/amdgpu-installer-common.rst 43 | 44 | 45 | .. _ubuntu-amdgpu-install-uninstall: 46 | 47 | Uninstalling 48 | ================================================= 49 | 50 | Uninstalling amdgpu-install 51 | --------------------------------------------------------------------------- 52 | 53 | .. code-block:: bash 54 | 55 | sudo apt purge amdgpu-install 56 | sudo apt autoremove 57 | 58 | Uninstall specific meta packages 59 | --------------------------------------------------------------------------- 60 | 61 | .. code-block:: bash 62 | :substitutions: 63 | 64 | sudo apt autoremove rocm 65 | 66 | Uninstall ROCm packages 67 | --------------------------------------------------------------------------- 68 | 69 | .. code-block:: bash 70 | :substitutions: 71 | 72 | sudo apt autoremove rocm-core 73 | 74 | Cache cleanup 75 | --------------------------------------------------------------------------- 76 | 77 | .. code-block:: bash 78 | 79 | # Clear the cache and clean the system 80 | sudo rm -rf /var/cache/apt/* 81 | sudo apt clean all 82 | sudo apt update 83 | 84 | # Restart the system 85 | sudo reboot 86 | 87 | Additional options 88 | ================================================= 89 | 90 | * Unattended installation. 91 | 92 | Adding ``-y`` as a parameter to ``amdgpu-install`` skips user prompts (for automation). For example: 93 | 94 | .. code-block:: bash 95 | 96 | amdgpu-install -y --usecase=rocm 97 | -------------------------------------------------------------------------------- /docs/install/install-methods/includes/debian-multi-install.rst: -------------------------------------------------------------------------------- 1 | .. _debian-multi-install: 2 | 3 | 1. Set up your package signing key following the steps in :ref:`debian-package-key`. 4 | 5 | 2. Register the kernel-mode driver. 6 | 7 | Add the AMDGPU repository for the driver. 8 | 9 | .. datatemplate:nodata:: 10 | 11 | .. tab-set:: 12 | {% for (os_version, os_release) in config.html_context['debian_version_numbers'] %} 13 | .. tab-item:: Debian {{ os_version }} 14 | :sync: debian-{{ os_version}} 15 | 16 | .. code-block:: bash 17 | :substitutions: 18 | 19 | ver=|amdgpu_version| 20 | echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/$ver/ubuntu {{ os_release }} main" \ 21 | | sudo tee /etc/apt/sources.list.d/amdgpu.list 22 | sudo apt update 23 | 24 | {% endfor %} 25 | 26 | .. _debian-multi-register-rocm: 27 | 28 | 3. Register ROCm packages. 29 | 30 | Add the ROCm repository. 31 | 32 | .. datatemplate:nodata:: 33 | 34 | .. tab-set:: 35 | {% for (os_version, os_release) in config.html_context['debian_version_numbers'] %} 36 | .. tab-item:: Debian {{ os_version }} 37 | :sync: debian-{{ os_version}} 38 | 39 | .. code-block:: bash 40 | :substitutions: 41 | 42 | for ver in |rocm_multi_versions|; do 43 | echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver {{ os_release }} main" \ 44 | | sudo tee --append /etc/apt/sources.list.d/rocm.list 45 | done 46 | echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ 47 | | sudo tee /etc/apt/preferences.d/rocm-pin-600 48 | sudo apt update 49 | {% endfor %} 50 | 51 | 4. Install ROCm. 52 | 53 | a. Install the kernel driver. 54 | 55 | .. code-block:: bash 56 | 57 | sudo apt install amdgpu-dkms 58 | sudo reboot 59 | 60 | b. Install the registered ROCm packages. 61 | 62 | .. code-block:: bash 63 | :substitutions: 64 | 65 | for ver in |rocm_multi_versions_package_versions|; do 66 | sudo apt install rocm$ver 67 | done 68 | 69 | 5. Complete the :doc:`../post-install`. 70 | 71 | .. tip:: 72 | 73 | For a single-version installation of the latest ROCm version on Debian, 74 | use the steps in :ref:`debian-register-repo` and :ref:`debian-install`. 75 | 76 | -------------------------------------------------------------------------------- /docs/install/install-methods/includes/ol-multi-install.rst: -------------------------------------------------------------------------------- 1 | .. _ol-multi-install: 2 | 3 | 1. Register the kernel-mode driver. 4 | 5 | .. datatemplate:nodata:: 6 | 7 | .. tab-set:: 8 | {% for os_version in config.html_context['ol_version_numbers'] %} 9 | {% set os_major, _ = os_version.split('.') %} 10 | .. tab-item:: OL {{ os_major }} 11 | :sync: ol-{{ os_version }} ol-{{ os_major }} 12 | 13 | .. code-block:: bash 14 | :substitutions: 15 | 16 | for ver in |rocm_multi_versions|; do 17 | sudo tee /etc/yum.repos.d/amdgpu.repo <` 54 | * :doc:`Debian <./multi-version-install/multi-version-install-debian>` 55 | * :doc:`Red Hat Enterprise Linux <./multi-version-install/multi-version-install-rhel>` 56 | * :doc:`Oracle Linux <./multi-version-install/multi-version-install-ol>` 57 | * :doc:`SUSE Linux Enterprise Server <./multi-version-install/multi-version-install-sles>` 58 | * :doc:`Azure Linux <./multi-version-install/multi-version-install-azl>` 59 | 60 | .. grid-item-card:: Uninstall 61 | 62 | * :ref:`Ubuntu ` 63 | * :ref:`Debian ` 64 | * :ref:`Red Hat Enterprise Linux ` 65 | * :ref:`Oracle Linux ` 66 | * :ref:`SUSE Linux Enterprise Server ` 67 | * :ref:`Azure Linux ` 68 | 69 | 70 | See also: :doc:`/reference/system-requirements`. If you encounter install issues, you can refer to the 71 | :doc:`troubleshooting ` page. -------------------------------------------------------------------------------- /docs/install/install-methods/multi-version-install/multi-version-install-azl.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Install multiple ROCm versions 3 | :keywords: installation instructions, AMD, ROCm, multiple versions, AZL, Azure Linux 4 | 5 | .. _multi-version_install: 6 | 7 | ********************************* 8 | Azure Linux multi-version installation 9 | ********************************* 10 | 11 | .. caution:: 12 | 13 | Ensure that the :doc:`/install/prerequisites` are met before installing. 14 | 15 | .. _azl-multi-register-rocm: 16 | 17 | Registering ROCm repositories 18 | ===================================================== 19 | 20 | .. datatemplate:nodata:: 21 | 22 | .. tab-set:: 23 | {% for os_version in config.html_context['azl_version_numbers'] %} 24 | {% set os_major, _ = os_version.split('.') %} 25 | .. tab-item:: AZL {{ os_release }} 26 | :sync: azl-{{ os_release }} 27 | 28 | .. code-block:: bash 29 | :substitutions: 30 | 31 | # Note: There is NO trailing .0 in the patch version for repositories 32 | for ver in |rocm_multi_versions|; do 33 | sudo tee --append /etc/yum.repos.d/rocm.repo <` 18 | * :doc:`Debian <./package-manager/package-manager-debian>` 19 | * :doc:`Red Hat Enterprise Linux <./package-manager/package-manager-rhel>` 20 | * :doc:`Oracle Linux <./package-manager/package-manager-ol>` 21 | * :doc:`SUSE Linux Enterprise Server <./package-manager/package-manager-sles>` 22 | * :doc:`Azure Linux <./package-manager/package-manager-azl>` 23 | 24 | .. grid-item-card:: Uninstall 25 | 26 | * :ref:`Ubuntu ` 27 | * :ref:`Debian ` 28 | * :ref:`Red Hat Enterprise Linux ` 29 | * :ref:`Oracle Linux ` 30 | * :ref:`SUSE Linux Enterprise Server ` 31 | * :ref:`Azure Linux ` 32 | 33 | 34 | 35 | 36 | See also: :doc:`/reference/system-requirements`. If you encounter install issues, you can refer to the 37 | :doc:`troubleshooting ` page. 38 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-azl.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Azure Linux native installation 3 | :keywords: ROCm install, installation instructions, AZL, Azure Linux native installation, 4 | AMD, ROCm 5 | 6 | ********************************************************************************************** 7 | Azure Linux native installation 8 | ********************************************************************************************** 9 | 10 | .. caution:: 11 | 12 | Ensure that the :doc:`/install/prerequisites` are met before installing. 13 | 14 | .. _azl-register-repo: 15 | 16 | Registering ROCm repositories 17 | ===================================================== 18 | 19 | .. datatemplate:nodata:: 20 | 21 | .. tab-set:: 22 | {% for os_version in config.html_context['azl_version_numbers'] %} 23 | {% set os_major, _ = os_version.split('.') %} 24 | .. tab-item:: AZL {{ os_version }} 25 | :sync: azl-{{ os_version }} 26 | 27 | .. code-block:: bash 28 | :substitutions: 29 | 30 | sudo tee --append /etc/yum.repos.d/rocm.repo <`_ in the AMD Instinct Data Center GPU Documentation. 55 | 56 | .. _azl-upgrade: 57 | 58 | Upgrading 59 | ===================================================== 60 | 61 | To upgrade an existing ROCm installation to a newer version, follow the steps in 62 | :ref:`rhel-register-repo` and :ref:`rhel-install`. 63 | 64 | .. note:: 65 | 66 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 67 | system reboot to take effect. 68 | 69 | .. _azl-package-manager-uninstall: 70 | 71 | Uninstalling 72 | ===================================================== 73 | 74 | Uninstall specific meta packages 75 | --------------------------------------------------------------------------- 76 | 77 | .. code-block:: bash 78 | 79 | sudo tdnf remove rocm 80 | 81 | Uninstall ROCm packages 82 | --------------------------------------------------------------------------- 83 | 84 | .. code-block:: bash 85 | 86 | sudo tdnf remove rocm-core 87 | 88 | Remove ROCm repositories 89 | --------------------------------------------------------------------------- 90 | 91 | .. code-block:: bash 92 | 93 | # Remove the repositories 94 | sudo rm /etc/yum.repos.d/rocm.repo* 95 | 96 | # Clear the cache and clean the system 97 | sudo rm -rf /var/cache/tdnf 98 | sudo tdnf clean all 99 | 100 | # Restart the system 101 | sudo reboot 102 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-debian.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Debian native installation 3 | :keywords: ROCm install, installation instructions, Debian, Debian native installation, AMD, ROCm 4 | 5 | **************************************************************************** 6 | Debian native installation 7 | **************************************************************************** 8 | 9 | .. caution:: 10 | 11 | Ensure that the :doc:`/install/prerequisites` are met before installing. 12 | 13 | .. _debian-register-repo: 14 | 15 | Registering ROCm repositories 16 | ================================================= 17 | 18 | .. _debian-package-key: 19 | 20 | Package signing key 21 | --------------------------------------------------------------------------- 22 | 23 | Download and convert the package signing key. 24 | 25 | .. code-block:: bash 26 | 27 | # Make the directory if it doesn't exist yet. 28 | # This location is recommended by the distribution maintainers. 29 | sudo mkdir --parents --mode=0755 /etc/apt/keyrings 30 | 31 | # Download the key, convert the signing-key to a full 32 | # keyring required by apt and store in the keyring directory 33 | wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \ 34 | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null 35 | 36 | .. note:: 37 | 38 | The GPG key may change; ensure it is updated when installing a new release. 39 | If the key signature verification fails while updating, 40 | re-add the key from the ROCm to the apt repository as mentioned above. 41 | 42 | .. _debian-register-rocm: 43 | 44 | Register packages 45 | --------------------------------------------------------------------------- 46 | 47 | .. datatemplate:nodata:: 48 | 49 | .. tab-set:: 50 | {% for (os_version, os_release) in config.html_context['debian_version_numbers'] %} 51 | .. tab-item:: Debian {{ os_version }} 52 | :sync: debian-{{ os_version}} 53 | 54 | .. code-block:: bash 55 | :substitutions: 56 | 57 | # Register ROCm packages 58 | echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/|rocm_version| {{ os_release }} main" \ 59 | | sudo tee --append /etc/apt/sources.list.d/rocm.list 60 | echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ 61 | | sudo tee /etc/apt/preferences.d/rocm-pin-600 62 | sudo apt update 63 | 64 | {% endfor %} 65 | 66 | .. _debian-install: 67 | 68 | Installing 69 | ================================================ 70 | 71 | .. code-block:: bash 72 | 73 | sudo apt install rocm 74 | 75 | Complete the :doc:`../../post-install`. 76 | 77 | .. note:: 78 | 79 | For information about the AMDGPU driver installation, see the `Install AMDGPU driver `_ in the AMD Instinct Data Center GPU Documentation. 80 | 81 | .. _debian-upgrade: 82 | 83 | Upgrading 84 | ================================================ 85 | 86 | To upgrade an existing ROCm installation to a newer version, follow the steps in 87 | :ref:`debian-register-repo` and :ref:`debian-install`. 88 | 89 | .. note:: 90 | 91 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 92 | system reboot to take effect. 93 | 94 | .. _debian-package-manager-uninstall: 95 | 96 | Uninstalling 97 | ================================================ 98 | 99 | Uninstall specific meta packages 100 | --------------------------------------------------------------------------- 101 | 102 | .. code-block:: bash 103 | :substitutions: 104 | 105 | sudo apt autoremove rocm 106 | 107 | Uninstall ROCm packages 108 | --------------------------------------------------------------------------- 109 | 110 | .. code-block:: bash 111 | :substitutions: 112 | 113 | sudo apt autoremove rocm-core 114 | 115 | Remove ROCm repositories 116 | --------------------------------------------------------------------------- 117 | 118 | .. code-block:: bash 119 | 120 | # Remove the repositories 121 | sudo rm /etc/apt/sources.list.d/rocm.list 122 | 123 | # Clear the cache and clean the system 124 | sudo rm -rf /var/cache/apt/* 125 | sudo apt clean all 126 | sudo apt update 127 | 128 | # Restart the system 129 | sudo reboot 130 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-ol.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Oracle Linux native installation 3 | :keywords: ROCm install, installation instructions, OL, Oracle Linux native installation, 4 | AMD, ROCm 5 | 6 | ********************************************************************************************** 7 | Oracle Linux native installation 8 | ********************************************************************************************** 9 | 10 | .. caution:: 11 | 12 | Ensure that the :doc:`/install/prerequisites` are met before installing. 13 | 14 | .. _ol-register-repo: 15 | 16 | Register ROCm repositories 17 | ===================================================== 18 | 19 | .. datatemplate:nodata:: 20 | 21 | .. tab-set:: 22 | {% for os_release in config.html_context['ol_release_version_numbers'] %} 23 | .. tab-item:: OL {{ os_release }} 24 | :sync: ol-{{ os_release }} 25 | 26 | .. code-block:: bash 27 | :substitutions: 28 | 29 | sudo tee --append /etc/yum.repos.d/rocm.repo <`_ in the AMD Instinct Data Center GPU Documentation. 55 | 56 | .. _ol-upgrade: 57 | 58 | Upgrading 59 | ===================================================== 60 | 61 | To upgrade an existing ROCm installation to a newer version, follow the steps in 62 | :ref:`rhel-register-repo` and :ref:`rhel-install`. 63 | 64 | .. note:: 65 | 66 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 67 | system reboot to take effect. 68 | 69 | .. _ol-package-manager-uninstall: 70 | 71 | Uninstalling 72 | ===================================================== 73 | 74 | Uninstall specific meta packages 75 | --------------------------------------------------------------------------- 76 | 77 | .. code-block:: bash 78 | :substitutions: 79 | 80 | sudo dnf remove rocm 81 | 82 | Uninstall ROCm packages 83 | --------------------------------------------------------------------------- 84 | 85 | .. code-block:: bash 86 | :substitutions: 87 | 88 | sudo dnf remove rocm-core amdgpu-core 89 | 90 | Remove ROCm repositories 91 | --------------------------------------------------------------------------- 92 | 93 | .. code-block:: bash 94 | 95 | # Remove the repositories 96 | sudo rm /etc/yum.repos.d/rocm.repo* 97 | 98 | # Clear the cache and clean the system 99 | sudo rm -rf /var/cache/dnf 100 | sudo dnf clean all 101 | 102 | # Restart the system 103 | sudo reboot 104 | 105 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-rhel.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Red Hat Enterprise Linux native installation 3 | :keywords: ROCm install, installation instructions, RHEL, Red Hat Enterprise Linux native installation, 4 | AMD, ROCm 5 | 6 | ********************************************************************************************** 7 | Red Hat Enterprise Linux native installation 8 | ********************************************************************************************** 9 | 10 | .. caution:: 11 | 12 | Ensure that the :doc:`/install/prerequisites` are met before installing. 13 | 14 | .. _rhel-register-repo: 15 | 16 | Registering ROCm repositories 17 | ===================================================== 18 | 19 | .. datatemplate:nodata:: 20 | 21 | .. tab-set:: 22 | {% for os_release in config.html_context['rhel_release_version_numbers'] %} 23 | .. tab-item:: RHEL {{ os_release }} 24 | :sync: rhel-{{ os_release }} 25 | 26 | .. code-block:: bash 27 | :substitutions: 28 | 29 | sudo tee --append /etc/yum.repos.d/rocm.repo <`_ in the AMD Instinct Data Center GPU Documentation. 55 | 56 | .. _rhel-upgrade: 57 | 58 | Upgrading 59 | ===================================================== 60 | 61 | To upgrade an existing ROCm installation to a newer version, follow the steps in 62 | :ref:`rhel-register-repo` and :ref:`rhel-install`. 63 | 64 | .. note:: 65 | 66 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 67 | system reboot to take effect. 68 | 69 | .. _rhel-package-manager-uninstall: 70 | 71 | Uninstalling 72 | ===================================================== 73 | 74 | Uninstall specific meta packages 75 | --------------------------------------------------------------------------- 76 | 77 | .. code-block:: bash 78 | :substitutions: 79 | 80 | sudo dnf remove rocm 81 | 82 | Uninstall ROCm packages 83 | --------------------------------------------------------------------------- 84 | 85 | .. code-block:: bash 86 | :substitutions: 87 | 88 | sudo dnf remove rocm-core amdgpu-core 89 | 90 | Remove ROCm repositories 91 | --------------------------------------------------------------------------- 92 | 93 | .. code-block:: bash 94 | 95 | # Remove the repositories 96 | sudo rm /etc/yum.repos.d/rocm.repo* 97 | 98 | # Clear the cache and clean the system 99 | sudo rm -rf /var/cache/dnf 100 | sudo dnf clean all 101 | 102 | # Restart the system 103 | sudo reboot 104 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-sles.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: SUSE Enterprise Linux native installation 3 | :keywords: ROCm install, installation instructions, SUSE, SUSE Linux Enterprise native installation, 4 | AMD, ROCm 5 | 6 | ********************************************************************************************* 7 | SUSE Linux Enterprise native installation 8 | ********************************************************************************************* 9 | 10 | .. caution:: 11 | 12 | Ensure that the :doc:`/install/prerequisites` are met before installing. 13 | 14 | .. _sles-register-repo: 15 | 16 | Registering ROCm repositories 17 | =============================================== 18 | 19 | .. code-block:: bash 20 | :substitutions: 21 | 22 | sudo tee --append /etc/zypp/repos.d/rocm.repo <`_ in the AMD Instinct Data Center GPU Documentation. 48 | 49 | .. _sles-upgrade: 50 | 51 | Upgrading 52 | ================================================ 53 | 54 | To upgrade an existing ROCm installation to a newer version, follow the steps in 55 | :ref:`sles-register-rocm` and :ref:`sles-install`. 56 | 57 | .. note:: 58 | 59 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 60 | system reboot to take effect. 61 | 62 | .. _sles-package-manager-uninstall: 63 | 64 | Uninstalling 65 | ================================================ 66 | 67 | Uninstall specific meta packages 68 | --------------------------------------------------------------------------- 69 | 70 | .. code-block:: bash 71 | :substitutions: 72 | 73 | sudo zypper remove rocm 74 | 75 | Uninstall ROCm packages 76 | --------------------------------------------------------------------------- 77 | 78 | .. code-block:: bash 79 | :substitutions: 80 | 81 | sudo zypper remove rocm-core amdgpu-core 82 | 83 | Remove ROCm repositories 84 | --------------------------------------------------------------------------- 85 | 86 | .. code-block:: bash 87 | :substitutions: 88 | 89 | # Remove the repositories 90 | sudo zypper removerepo "ROCm-|rocm_version|" 91 | 92 | # Clear cache and clean system 93 | sudo zypper clean --all 94 | sudo zypper refresh 95 | 96 | # Restart the system 97 | sudo reboot 98 | 99 | -------------------------------------------------------------------------------- /docs/install/install-methods/package-manager/package-manager-ubuntu.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: Ubuntu native installation 3 | :keywords: ROCm install, installation instructions, Ubuntu, Ubuntu native installation, AMD, ROCm 4 | 5 | **************************************************************************** 6 | Ubuntu native installation 7 | **************************************************************************** 8 | 9 | .. caution:: 10 | 11 | Ensure that the :doc:`/install/prerequisites` are met before installing. 12 | 13 | .. _ubuntu-register-repo: 14 | 15 | Registering ROCm repositories 16 | ================================================= 17 | 18 | .. _ubuntu-package-key: 19 | 20 | Package signing key 21 | --------------------------------------------------------------------------- 22 | 23 | Download and convert the package signing key. 24 | 25 | .. code-block:: bash 26 | 27 | # Make the directory if it doesn't exist yet. 28 | # This location is recommended by the distribution maintainers. 29 | sudo mkdir --parents --mode=0755 /etc/apt/keyrings 30 | 31 | # Download the key, convert the signing-key to a full 32 | # keyring required by apt and store in the keyring directory 33 | wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \ 34 | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null 35 | 36 | .. note:: 37 | 38 | The GPG key may change; ensure it is updated when installing a new release. 39 | If the key signature verification fails while updating, 40 | re-add the key from the ROCm to the apt repository as mentioned above. 41 | 42 | .. _ubuntu-register-rocm: 43 | 44 | Register packages 45 | --------------------------------------------------------------------------- 46 | 47 | .. datatemplate:nodata:: 48 | 49 | .. tab-set:: 50 | {% for (os_version, os_release) in config.html_context['ubuntu_version_numbers'] %} 51 | .. tab-item:: Ubuntu {{ os_version }} 52 | :sync: ubuntu-{{ os_version}} 53 | 54 | .. code-block:: bash 55 | :substitutions: 56 | 57 | # Register ROCm packages 58 | echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/|rocm_version| {{ os_release }} main" \ 59 | | sudo tee --append /etc/apt/sources.list.d/rocm.list 60 | echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ 61 | | sudo tee /etc/apt/preferences.d/rocm-pin-600 62 | sudo apt update 63 | 64 | {% endfor %} 65 | 66 | .. _ubuntu-install: 67 | 68 | Installing 69 | ================================================ 70 | 71 | .. code-block:: bash 72 | 73 | sudo apt install rocm 74 | 75 | Complete the :doc:`../../post-install`. 76 | 77 | .. note:: 78 | 79 | For information about the AMDGPU driver installation, see the `Install AMDGPU driver `_ in the AMD Instinct Data Center GPU Documentation. 80 | 81 | .. _ubuntu-upgrade: 82 | 83 | Upgrading 84 | ================================================ 85 | 86 | To upgrade an existing ROCm installation to a newer version, follow the steps in 87 | :ref:`ubuntu-register-repo` and :ref:`ubuntu-install`. 88 | 89 | .. note:: 90 | 91 | Upgrading the kernel driver may also upgrade the GPU firmware, which requires a 92 | system reboot to take effect. 93 | 94 | .. _ubuntu-package-manager-uninstall: 95 | 96 | Uninstalling 97 | ================================================ 98 | 99 | Uninstall specific meta packages 100 | --------------------------------------------------------------------------- 101 | 102 | .. code-block:: bash 103 | :substitutions: 104 | 105 | sudo apt autoremove rocm 106 | 107 | Uninstall ROCm packages 108 | --------------------------------------------------------------------------- 109 | 110 | .. code-block:: bash 111 | :substitutions: 112 | 113 | sudo apt autoremove rocm-core 114 | 115 | Remove ROCm repositories 116 | --------------------------------------------------------------------------- 117 | 118 | .. code-block:: bash 119 | 120 | # Remove the repositories 121 | sudo rm /etc/apt/sources.list.d/rocm.list 122 | 123 | # Clear the cache and clean the system 124 | sudo rm -rf /var/cache/apt/* 125 | sudo apt clean all 126 | sudo apt update 127 | 128 | # Restart the system 129 | sudo reboot 130 | -------------------------------------------------------------------------------- /docs/install/install-overview.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: ROCm installation options 3 | :keywords: ROCm installation, AMD, ROCm, Package manager, AMDGPU, single-version installation, 4 | multi-version installation 5 | 6 | .. _rocm-install-overview: 7 | 8 | ************************************************************* 9 | ROCm installation overview 10 | ************************************************************* 11 | 12 | If you're new to ROCm, we recommend using the :ref:`rocm-install-quick`. 13 | 14 | .. note:: 15 | If you're using a Radeon GPU with graphical applications, refer to the 16 | `Radeon installation instructions `_. 17 | 18 | To install ROCm, you can use the package manager or the AMDGPU installer. You can also opt for 19 | single-version or multi-version installation. These topics are described in detail in the following 20 | sections. 21 | 22 | Installation methods 23 | ###################### 24 | 25 | * :ref:`package_manager_versus_amdgpu` 26 | * :ref:`Multi-version installation ` 27 | * :ref:`ROCm Offline Installer Creator ` 28 | * :ref:`ROCm Runfile Installer ` 29 | 30 | .. _package_manager_versus_amdgpu: 31 | 32 | Package manager versus AMDGPU installer 33 | =========================================================== 34 | 35 | ROCm supports two methods for installation: 36 | 37 | * :doc:`Using the Linux distribution package manager <../install/install-methods/package-manager-index>` 38 | * :doc:`Running the amdgpu-install script <../install/install-methods/amdgpu-installer-index>` 39 | 40 | There is no difference in the final installation between these two methods. 41 | 42 | Using the distribution's package manager lets the user install, 43 | upgrade and uninstall using familiar commands and workflows. Third party 44 | ecosystem support is the same as your OS package manager. 45 | 46 | The ``amdgpu-install`` script is a wrapper around the package manager. The same 47 | packages are installed by this script as the package manager system. 48 | 49 | The installer automates the installation process for the AMDGPU 50 | and ROCm stack. It handles the complete installation process 51 | for ROCm, including setting up the repository, cleaning the system, updating, 52 | and installing the desired drivers and meta-packages. Users who are 53 | less familiar with the package manager can choose this method for ROCm 54 | installation. 55 | 56 | .. _multi-version-install-overview: 57 | 58 | Multi-version installation 59 | =========================================================== 60 | 61 | A multi-version ROCm installation handles situations where users need multiple 62 | versions of ROCm on the same machine for compatibility with different 63 | applications and hardware, testing, and other use cases. 64 | For instructions, see :doc:`installing multiple ROCm versions<../install/install-methods/multi-version-install>`. 65 | 66 | .. _rocm-offline-installer-creator: 67 | 68 | ROCm Offline Installer Creator 69 | =========================================================== 70 | 71 | The ROCm Offline Installer Creator creates an 72 | installation package for a preconfigured setup of ROCm, the AMDGPU driver, or a combination 73 | of the two on a target system without network or internet access. 74 | See :doc:`ROCm Offline Installer Creator <../install/rocm-offline-installer>` for instructions. 75 | 76 | .. _rocm-runfile-installer: 77 | 78 | ROCm Runfile Installer 79 | =========================================================== 80 | 81 | The ROCm Runfile Installer lets you install ROCm without using a native Linux package management system. 82 | It can be used with or without network or internet access. 83 | See :doc:`ROCm Runfile Installer <../install/rocm-runfile-installer>` for instructions. -------------------------------------------------------------------------------- /docs/reference/user-kernel-space-compat-matrix.rst: -------------------------------------------------------------------------------- 1 | .. meta:: 2 | :description: User and kernel-space support matrix 3 | :keywords: Linux support, support matrix, system requirements, user space versions, kernel-mode GPU driver, KMD, AMD, ROCm 4 | 5 | ***************************************************************************************** 6 | User and kernel-space support matrix 7 | ***************************************************************************************** 8 | 9 | Starting from ROCm™ 6.4.0, forward and backward compatibility between the AMD Kernel-mode GPU Driver (KMD) and its user space software is provided up to a year apart (assuming hardware support is available in both). For earlier ROCm releases, the compatibility is provided for +/- 2 releases. This table shows the compatibility combinations that are currently supported. 10 | 11 | .. csv-table:: 12 | :widths: 30, 70 13 | :header: "KMD", "Tested user space versions" 14 | 15 | "6.4.x", "6.1.x, 6.2.x, 6.3.x, 6.4.x" 16 | "6.3.x", "6.1.x, 6.2.x, 6.3.x, 6.4.x" 17 | "6.2.x", "6.0.x, 6.1.x, 6.2.x, 6.3.x, 6.4.x" 18 | "6.1.x", "5.7.x, 6.0.x, 6.1.x, 6.2.x, 6.3.x, 6.4.x" 19 | "6.0.x", "5.6.x, 5.7.x, 6.0.x, 6.1.x, 6.2.x" 20 | "5.7.x", "5.5.x, 5.6.x, 5.7.x, 6.0.x, 6.1.x" 21 | "5.6.x", "5.4.x, 5.5.x, 5.6.x, 5.7.x, 6.0.x" 22 | "5.5.x", "5.3.x, 5.4.x, 5.5.x, 5.6.x, 5.7.x" 23 | "5.4.x", "5.2.x, 5.3.x, 5.4.x, 5.5.x, 5.6.x" 24 | "5.3.x", "5.1.x, 5.2.x, 5.3.x, 5.4.x, 5.5.x" 25 | -------------------------------------------------------------------------------- /docs/sphinx/_toc.yml.in: -------------------------------------------------------------------------------- 1 | defaults: 2 | numbered: False 3 | maxdepth: 6 4 | root: index 5 | subtrees: 6 | - caption: Install ROCm 7 | entries: 8 | - file: install/quick-start 9 | title: Quick start installation guide 10 | - file: install/detailed-install 11 | title: Detailed install 12 | subtrees: 13 | - entries: 14 | - file: install/prerequisites 15 | title: Prerequisites 16 | - file: install/install-overview 17 | title: Installation methods 18 | subtrees: 19 | - entries: 20 | - file: install/install-methods/package-manager-index 21 | title: Package manager 22 | subtrees: 23 | - entries: 24 | - file: install/install-methods/package-manager/package-manager-ubuntu 25 | title: Ubuntu 26 | - file: install/install-methods/package-manager/package-manager-debian 27 | title: Debian 28 | - file: install/install-methods/package-manager/package-manager-rhel 29 | title: Red Hat Enterprise Linux 30 | - file: install/install-methods/package-manager/package-manager-ol 31 | title: Oracle Linux 32 | - file: install/install-methods/package-manager/package-manager-sles 33 | title: SUSE Linux Enterprise Server 34 | - file: install/install-methods/package-manager/package-manager-azl 35 | title: Azure Linux 36 | - file: install/install-methods/amdgpu-installer-index 37 | title: AMDGPU installer 38 | subtrees: 39 | - entries: 40 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-ubuntu 41 | title: Ubuntu 42 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-debian 43 | title: Debian 44 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-rhel 45 | title: Red Hat Enterprise Linux 46 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-ol 47 | title: Oracle Linux 48 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-sles 49 | title: SUSE Linux Enterprise Server 50 | - file: install/install-methods/amdgpu-installer/amdgpu-installer-azl 51 | title: Azure Linux 52 | - file: install/install-methods/multi-version-install-index 53 | title: Multi-version installation 54 | subtrees: 55 | - entries: 56 | - file: install/install-methods/multi-version-install/multi-version-install-ubuntu 57 | title: Ubuntu 58 | - file: install/install-methods/multi-version-install/multi-version-install-debian 59 | title: Debian 60 | - file: install/install-methods/multi-version-install/multi-version-install-rhel 61 | title: Red Hat Enterprise Linux 62 | - file: install/install-methods/multi-version-install/multi-version-install-ol 63 | title: Oracle Linux 64 | - file: install/install-methods/multi-version-install/multi-version-install-sles 65 | title: SUSE Linux Enterprise Server 66 | - file: install/install-methods/multi-version-install/multi-version-install-azl 67 | title: Azure Linux 68 | - file: install/rocm-offline-installer 69 | title: ROCm Offline Installer Creator 70 | - file: install/rocm-runfile-installer 71 | title: ROCm Runfile Installer 72 | - file: install/post-install 73 | title: Post-installation instructions 74 | 75 | - caption: Install deep learning frameworks 76 | entries: 77 | - file: install/3rd-party/pytorch-install 78 | title: PyTorch 79 | - file: install/3rd-party/tensorflow-install 80 | title: TensorFlow 81 | - file: install/3rd-party/jax-install 82 | title: JAX 83 | 84 | - caption: How to 85 | entries: 86 | - file: how-to/docker 87 | title: Run Docker containers 88 | - file: how-to/spack 89 | title: Use Spack 90 | 91 | - caption: Reference 92 | entries: 93 | - file: reference/package-manager-integration 94 | title: Package manager integration 95 | - file: reference/system-requirements 96 | title: System requirements 97 | - file: reference/install-faq 98 | title: Troubleshooting 99 | - file: reference/user-kernel-space-compat-matrix 100 | title: User & kernel-space support 101 | -------------------------------------------------------------------------------- /docs/sphinx/requirements.in: -------------------------------------------------------------------------------- 1 | rocm-docs-core==1.20.1 2 | Sphinx-Substitution-Extensions==2025.6.6 3 | sphinxcontrib.datatemplates==0.11.0 4 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "rocm-install-on-linux" 3 | version = "0.1.0" 4 | description = "Default template for PDM package" 5 | authors = [ 6 | {name = "Logan Grado", email = "logan.grado@amd.com"}, 7 | ] 8 | dependencies = [ 9 | "sphinx==5.3.0", 10 | "rocm-docs-core==0.35.0", 11 | "Sphinx-Substitution-Extensions==2022.2.16", 12 | "sphinxcontrib-datatemplates==0.11.0", 13 | ] 14 | requires-python = "==3.10.*" 15 | readme = "README.md" 16 | license = {text = "MIT"} 17 | 18 | 19 | [tool.pdm] 20 | distribution = false 21 | 22 | [tool.pdm.dev-dependencies] 23 | dev = [ 24 | "invoke>=2.2.0", 25 | "ipython>=8.22.2", 26 | "ipdb>=0.13.13", 27 | ] 28 | -------------------------------------------------------------------------------- /src/offline-installer/UI/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # ############################################################################## 2 | # Copyright (c) 2024 Advanced Micro Devices, Inc. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a copy 5 | # of this software and associated documentation files (the "Software"), to deal 6 | # in the Software without restriction, including without limitation the rights 7 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | # copies of the Software, and to permit persons to whom the Software is 9 | # furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in all 12 | # copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20 | # SOFTWARE. 21 | # 22 | # ############################################################################## 23 | 24 | message(STATUS "++++++++++++++++++++++++++++++++++++++") 25 | message(STATUS "Creating for ROCm Offline Installer UI") 26 | message(STATUS "++++++++++++++++++++++++++++++++++++++") 27 | 28 | message(STATUS "Script_directory = " ${SCRIPT_DIRECTORY}) 29 | message(STATUS "UI binary location = " ${CMAKE_BINARY_DIR}) 30 | 31 | # Find ncurses related items 32 | find_package(Curses REQUIRED) 33 | find_library(MENU_LIBRARY menu) 34 | 35 | include_directories(${CURSES_INCLUDE_DIR} ${CURSES_INCLUDE_DIR}/ncurses) 36 | 37 | file(GLOB SOURCEFILES "src/*.c") 38 | 39 | add_executable(rocm_offline_ui ${SOURCEFILES}) 40 | 41 | # Set the UI version 42 | add_compile_definitions(OFFLINE_VERSION="${VERSION_STRING}") 43 | add_compile_definitions(ROCM_VERSION="${ROCM_VERSION_STRING}") 44 | 45 | # UI target settings 46 | target_compile_options(rocm_offline_ui PRIVATE -Wall -Wextra -Werror) 47 | target_link_libraries(rocm_offline_ui ${CURSES_LIBRARIES} ${MENU_LIBRARY}) 48 | 49 | add_dependencies(rocm_offline_creator rocm_offline_ui) 50 | 51 | add_custom_command(TARGET rocm_offline_ui 52 | COMMAND echo "Copying to script directory" 53 | COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/rocm_offline_ui ${SCRIPT_DIRECTORY}/) 54 | -------------------------------------------------------------------------------- /src/offline-installer/UI/help_menus/rocm_components_public.txt: -------------------------------------------------------------------------------- 1 | rocm For users and developers requiring full ROCm stack. 2 | - OpenCL (ROCr/KFD based) runtime 3 | - HIP runtimes 4 | - Machine learning framework 5 | - All ROCm libraries and applications 6 | 7 | rocmdev For developers requiring ROCm runtime and 8 | profiling/debugging tools. 9 | - HIP runtimes 10 | - OpenCL runtime 11 | - Profiler, Tracer and Debugger tools 12 | 13 | rocmdevtools For developers requiring ROCm profiling/debugging 14 | tools. 15 | - Profiler, Tracer and Debugger tools 16 | 17 | lrt For users of applications requiring ROCm runtime. 18 | - ROCm Compiler and device libraries 19 | - ROCr runtime and thunk 20 | 21 | hip For users of HIP runtime on AMD products. 22 | - HIP runtimes 23 | 24 | hiplibsdk For application developers requiring HIP on AMD 25 | products. 26 | - HIP runtimes 27 | - ROCm math libraries 28 | - HIP development libraries 29 | 30 | graphics For users of graphics applications. 31 | - Open source Mesa 3D graphics and multimedia 32 | libraries 33 | 34 | multimediasdk For developers of open source multimedia. 35 | - Open source Mesa 3D multimedia libraries 36 | - Development headers for multimedia libraries 37 | 38 | opencl For users of applications requiring OpenCL on Vega 39 | or later products. 40 | - ROCr based OpenCL 41 | - ROCm Language runtime 42 | 43 | openclsdk For application developers requiring ROCr based 44 | OpenCL. 45 | - ROCr based OpenCL 46 | - ROCm Language runtime 47 | - development and SDK files for ROCr based OpenCL 48 | 49 | openmpsdk For users of openmp/flang on AMD products. 50 | - OpenMP runtime and devel packages 51 | 52 | mllib For users executing machine learning workloads. 53 | - MIOpen hip/tensile libraries 54 | - Clang OpenCL 55 | - MIOpen kernels 56 | 57 | mlsdk For developers executing machine learning workloads. 58 | - MIOpen development libraries 59 | - Clang OpenCL development libraries 60 | - MIOpen kernels 61 | 62 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/create_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _CONFIG_MENU_H 23 | #define _CONFIG_MENU_H 24 | 25 | #include "menu_data.h" 26 | 27 | 28 | #define CREATE_MENU_ITEM_START_Y 5 // minimum starting y/row 29 | #define CREATE_MENU_ITEM_START_X 1 // minimum starting x/col 30 | 31 | // form setup 32 | #define CREATE_MENU_NUM_FORM_FIELDS 3 33 | #define CREATE_MENU_FORM_FIELD_WIDTH 50 34 | #define CREATE_MENU_FORM_FIELD_HEIGHT 1 // one line 35 | 36 | #define CREATE_MENU_FORM_ROW 10 // starting row for create menu form 37 | #define CREATE_MENU_FORM_COL 30 // staring column for create menu form 38 | 39 | // menu item indicies 40 | #define CREATE_MENU_ITEM_INSTALLER_INPUT_INDEX 0 41 | #define CREATE_MENU_ITEM_REPO_TYPE_INDEX 1 42 | #define CREATE_MENU_ITEM_DEP_DOWNLOAD_INDEX 3 43 | #define CREATE_MENU_ITEM_INSTALLER_NAME_INDEX 5 44 | #define CREATE_MENU_ITEM_INSTALLER_PATH_INDEX 6 45 | #define CREATE_MENU_ITEM_TARBALL_INDEX 7 46 | 47 | // menu item rows 48 | #define CREATE_MENU_ITEM_INSTALLER_INPUT_ROW 5 49 | #define CREATE_MENU_ITEM_REPO_TYPE_ROW 6 50 | #define CREATE_MENU_ITEM_DEP_DOWNLOAD_ROW 8 51 | 52 | 53 | #define CREATE_MENU_DEFAULT_INSTALLER_NAME "rocm-offline-install" 54 | 55 | #define CREATE_MENU_INSTALLER_LOG_OUT_PATH "/var/log/offline_creator" 56 | 57 | 58 | // warning message for download dependency minimum restriction 59 | #define DOWNLOAD_DEP_WARN_ERR_START_Y WARN_ERR_START_Y + 1 60 | #define DOWNLOAD_DEP_WARN_ERR_START_X WARN_ERR_START_X 61 | 62 | // item descriptions for options within specific menu items 63 | #define CREATE_MENU_ITEM_INSTALLER_INPUT_PUBLIC_DESC "Input source for packages used in offline installer creation. 'repo-public' provides packages from repo.radeon.com" 64 | #define CREATE_MENU_ITEM_DEP_DOWNLOAD_FULL_DESC "Set package dependency download configuration. 'full' recursively downloads package dependencies regardless of the current packages installed on the host" 65 | #define CREATE_MENU_ITEM_DEP_DOWNLOAD_MIN_DESC "Set package dependency download configuration. 'minimum' downloads package dependencies based on the current host configuration." 66 | 67 | 68 | void create_config_menu_window(MENU_DATA *pMenuData, WINDOW *pMenuWindow, OFFLINE_INSTALL_CONFIG *pConfig); 69 | void destroy_config_menu_window(MENU_DATA *pMenuData); 70 | void do_create_menu(MENU_DATA *pMenuData); 71 | 72 | void create_menu_update_state(MENU_DATA *pMenuData); 73 | 74 | 75 | #endif // _CONFIG_MENU_H 76 | 77 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/debug_ui.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _DEBUG_UI_H 23 | #define _DEBUG_UI_H 24 | 25 | #define ENABLE_MENU_DEBUG 0 // enable/disable debug messages 26 | 27 | 28 | // Debug/Error region coordinates 29 | 30 | #define DEBUG_ERR_START_Y WIN_NUM_LINES - 2 // debug message row 31 | #define DEBUG_ERR_START_X 1 // debug message col 32 | 33 | // Warning message region coordinates 34 | #define WARN_ERR_START_Y WIN_NUM_LINES - 3 // debug message row 35 | #define WARN_ERR_START_X 1 // debug message col 36 | 37 | 38 | #if ENABLE_MENU_DEBUG 39 | #define DEBUG_UI_MSG(pMenuData, ...) \ 40 | { \ 41 | print_menu_dbg_msg(pMenuData, __VA_ARGS__); \ 42 | } 43 | #else 44 | #define DEBUG_UI_MSG(pMenuData, ...) 45 | #endif // ENABLE_MENU_DEBUG 46 | 47 | 48 | #endif // _DEBUG_UI_H 49 | 50 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/driver_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _DRIVER_MENU_H 23 | #define _DRIVER_MENU_H 24 | 25 | #include "menu_data.h" 26 | 27 | 28 | #define DRIVER_MENU_ITEM_START_Y 5 // minimum starting y/row 29 | #define DRIVER_MENU_ITEM_START_X 1 // minimum starting x/col 30 | 31 | // form setup 32 | #define DRIVER_MENU_NUM_FORM_FIELDS 1 33 | #define DRIVER_MENU_FORM_FIELD_WIDTH 25 34 | #define DRIVER_MENU_FORM_FIELD_HEIGHT 1 // one line 35 | 36 | #define DRIVER_MENU_FORM_ROW 7 // starting row for create menu form 37 | #define DRIVER_MENU_FORM_COL 40 // staring column for create menu form 38 | 39 | // menu item indicies 40 | #define DRIVER_MENU_ITEM_INSTALL_DRIVER_INDEX 0 41 | #define DRIVER_MENU_ITEM_DRIVER_VER_INDEX 2 42 | #define DRIVER_MENU_ITEM_GRP_INDEX 4 43 | #define DRIVER_MENU_ITEM_BLACKLIST_INDEX 5 44 | #define DRIVER_MENU_ITEM_START_DRIVER_INDEX 6 45 | 46 | // menu item rows 47 | #define DRIVER_MENU_ITEM_INSTALL_DRIVER_ROW 5 48 | #define DRIVER_MENU_ITEM_DRIVER_VER_ROW 7 49 | #define DRIVER_MENU_ITEM_GRP_ROW 9 50 | #define DRIVER_MENU_ITEM_BLACKLIST_ROW 10 51 | #define DRIVER_MENU_ITEM_START_DRIVER_ROW 11 52 | 53 | 54 | void create_driver_menu_window(MENU_DATA *pMenuData, WINDOW *pMenuWindow, OFFLINE_INSTALL_CONFIG *pConfig); 55 | void destroy_driver_menu_window(MENU_DATA *pMenuData); 56 | void do_driver_menu(MENU_DATA *pMenuData); 57 | 58 | void driver_menu_update_state(MENU_DATA *pMenuData); 59 | 60 | 61 | #endif // _DRIVER_MENU_H 62 | 63 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/extras_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _EXTRAS_MENU_H 23 | #define _EXTRAS_MENU_H 24 | 25 | #include "menu_data.h" 26 | 27 | #define EXTRAS_MENU_ITEM_START_Y 5 // minimum starting y/row 28 | #define EXTRAS_MENU_ITEM_START_X 1 // minimum starting x/col 29 | 30 | // form setup 31 | #define EXTRAS_MENU_NUM_FORM_FIELDS 1 32 | #define EXTRAS_MENU_FORM_FIELD_WIDTH 25 33 | #define EXTRAS_MENU_FORM_FIELD_HEIGHT 1 // one line 34 | 35 | #define EXTRAS_MENU_FORM_ROW 9 // starting row for create menu form 36 | #define EXTRAS_MENU_FORM_COL 27 // staring column for create menu form 37 | 38 | 39 | void create_extras_menu_window(MENU_DATA *pMenuData, WINDOW *pMenuWindow, OFFLINE_INSTALL_CONFIG *pConfig); 40 | void destroy_extras_menu_window(MENU_DATA *pMenuData); 41 | void do_extras_menu(MENU_DATA *pMenuData); 42 | 43 | void extras_menu_update_state(MENU_DATA *pMenuData); 44 | 45 | #endif // _EXTRAS_MENU_H 46 | 47 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/help_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #include "menu_data.h" 23 | #define HELP_MENU_DESC_STARTX 28 24 | #define HELP_MENU_DESC_STARTY 5 25 | #define HELP_MENU_DESC_WIDTH 55 26 | 27 | #define HELP_MENU_OP_STARTX 4 28 | #define HELP_MENU_OP_WIDTH 17 29 | 30 | #define HELP_MENU_ITEM_START_Y 5 // minimum starting y/row 31 | #define HELP_MENU_ITEM_START_X 3 // minimum starting x/col 32 | 33 | void create_help_form(MENU_DATA *pMenuData, WINDOW *pMenuWin, int menuDescStartx, int manuDescStarty, int menuDescWidth, int menuOpStartx, int menuOptWidth, char *helpMenuOps[], char *helpMenuDesc[]); 34 | 35 | void do_help_menu(MENU_DATA *pMenuData); 36 | void help_menu_draw(MENU_DATA *pMenuData); 37 | void destroy_help_menu(MENU_DATA *pMenuData); -------------------------------------------------------------------------------- /src/offline-installer/UI/src/install_types.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _INSTALL_TYPES_H 23 | #define _INSTALL_TYPES_H 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | #define BUILD_INTERNAL 0 35 | 36 | #ifndef OFFLINE_VERSION 37 | #define OFFLINE_VERSION "custom" 38 | #endif 39 | 40 | #ifndef ROCM_VERSION 41 | #define ROCM_VERSION "intnl" 42 | #endif 43 | 44 | /* Global types for all menu configurations */ 45 | 46 | // Input source repo used for installer packages 47 | typedef enum _INSTALL_TYPE 48 | { 49 | eINSTALL_TYPE_REPO_PUBLIC, // install created from public (repo.radeon.com) 50 | eINSTALL_TYPE_MAX 51 | }INSTALL_TYPE; 52 | 53 | // Level of package dependency download for installer packages 54 | typedef enum _DEP_DL_TYPE 55 | { 56 | eDL_TYPE_FULL, // package download attempting to resolve all dependencies recursively 57 | eDL_TYPE_MIN, // package download using current host state to resolve dependencies for a "minimum" target OS 58 | eDL_TYPE_MAX 59 | }DEP_DL_TYPE; 60 | 61 | // Repo source 62 | typedef enum _DISTRO_TYPE 63 | { 64 | eDISTRO_TYPE_DEB, // Deb-based 65 | eDISTRO_TYPE_EL, // RHEL-based 66 | eDISTRO_TYPE_SLE, // Suse-based 67 | }DISTRO_TYPE; 68 | 69 | // Repo source 70 | typedef enum _REPO_TYPE 71 | { 72 | eREPO_TYPE_RADEON, // repo.radeon.com 73 | eREPO_TYPE_MAX 74 | }REPO_TYPE; 75 | 76 | 77 | 78 | 79 | #endif // _INSTALL_TYPES_H 80 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/rocm_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _ROCM_MENU_H 23 | #define _ROCM_MENU_H 24 | 25 | #include "menu_data.h" 26 | 27 | 28 | #define ROCM_MENU_ITEM_START_Y 5 // minimum starting y/row 29 | #define ROCM_MENU_ITEM_START_X 1 // minimum starting x/col 30 | 31 | #define ROCM_MENU_USECASES_ITEM_START_X 4 32 | 33 | // form setup 34 | #define ROCM_MENU_NUM_FORM_FIELDS 1 35 | #define ROCM_MENU_FORM_FIELD_WIDTH 50 36 | #define ROCM_MENU_FORM_FIELD_HEIGHT 1 // one line 37 | 38 | #define ROCM_MENU_FORM_ROW 9 // starting row for create menu form 39 | #define ROCM_MENU_FORM_COL 26 // staring column for create menu form 40 | 41 | #define ROCM_MENU_USECASES_WIDTH WIN_WIDTH_COLS - ROCM_MENU_FORM_COL - 2 42 | 43 | // menu item indices 44 | 45 | // rocm menu indices 46 | #define ROCM_MENU_ITEM_INSTALL_ROCM_INDEX 0 47 | #define ROCM_MENU_ITEM_VERSIONS_INDEX 2 48 | #define ROCM_MENU_ITEM_USECASES_INDEX 3 49 | 50 | // rocm menu item rows 51 | #define ROCM_MENU_ITEM_INSTALL_ROCM_ROW 5 52 | #define ROCM_MENU_ITEM_VERSION_ROW 7 53 | #define ROCM_MENU_ITEM_USECASES_ROW 8 54 | 55 | // rocm usecases menu indices 56 | #define ROCM_USECASES_MENU_ITEM_MULTIMEDIASDK_INDEX 8 57 | 58 | // definitions for rocm verions matrix 59 | #define ROCM_VERS_ROWS 11 // Number of distros we support 60 | #define ROCM_VERS_COLS 13 // Number of rocm versions displayed in variable rocmVersionsNameIndexMapping 61 | 62 | #define ROCM_VERS_MENU_MAX_SIZE ROCM_VERS_COLS + 3 63 | 64 | 65 | void create_rocm_menu_window(MENU_DATA *pMenuData, WINDOW *pMenuWindow, OFFLINE_INSTALL_CONFIG *pConfig); 66 | void destroy_rocm_menu_window(MENU_DATA *pMenuData); 67 | void do_rocm_menu(MENU_DATA *pMenuData); 68 | 69 | void rocm_menu_update_state(MENU_DATA *pMenuData); 70 | bool is_specific_usecase_selected(MENU_DATA *pMenuData, char *usecase); 71 | 72 | void do_rocm_menu_version(); 73 | 74 | void reset_rocm_version_menu(ROCM_MENU_CONFIG *pRocmConfig); 75 | void reset_rocm_usecases_menu(ROCM_MENU_CONFIG *pRocmConfig); 76 | 77 | #endif // _ROCM_MENU_H 78 | 79 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/summary_menu.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #ifndef _SUMMARY_MENU_H 23 | #define _SUMMARY_MENU_H 24 | 25 | #include "menu_data.h" 26 | 27 | // Summary page sub window settings 28 | #define SUMMARY_SUBWIN_WIDTH_COLS 82 29 | #define SUMMARY_SUBWIN_NUM_LINES 17 30 | #define SUMMARY_SUBWIN_START_X 1 31 | #define SUMMARY_SUBWIN_START_Y 3 32 | 33 | // Summary page column settings 34 | #define COL1_SUMMARY_MENU_OP_STARTX 3 35 | #define COL2_SUMMARY_MENU_VALUE_STARTX 30 36 | #define COL2_SUMMARY_DRIVER_MENU_VALUE_STARTX 35 37 | #define COL2_SUMMARY_MENU_VALUE_WIDTH SUMMARY_SUBWIN_WIDTH_COLS - COL2_SUMMARY_MENU_VALUE_STARTX 38 | #define COL2_SUMMARY_DRIVIER_MENU_VALUE_WIDTH SUMMARY_SUBWIN_WIDTH_COLS - COL2_SUMMARY_DRIVER_MENU_VALUE_STARTX 39 | // Starting row for displaying settings and their values 40 | #define COLS_SUMMARY_MENU_STARTY 0 41 | 42 | // Start position of menu items (Next Page, Prev Page, Return, Accept, page nums) 43 | #define SUMMARY_MENU_ITEM_START_Y 20 // minimum starting y/row 44 | #define SUMMARY_MENU_ITEM_START_X 1 // minimum starting x/col 45 | #define SUMMARY_PAGE_NUM_STARTX 75 // page number location 46 | #define SUMMARY_MENU_ITEM_NEXT_PAGE_INDEX 0 47 | 48 | void create_summary_menu_window(MENU_DATA *pMenuData, WINDOW *pMenuWindow, OFFLINE_INSTALL_CONFIG *pConfig); 49 | void destroy_summary_menu_window(MENU_DATA *pMenuData); 50 | void do_summary_menu(MENU_DATA *pMenuData); 51 | 52 | void summary_menu_update_state(MENU_DATA *pMenuData); 53 | 54 | #endif // _SUMMARY_MENU_H 55 | -------------------------------------------------------------------------------- /src/offline-installer/UI/src/utils.h: -------------------------------------------------------------------------------- 1 | /* ************************************************************************ 2 | * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell cop- 8 | * ies of the Software, and to permit persons to whom the Software is furnished 9 | * to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in all 12 | * copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IM- 15 | * PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNE- 19 | * CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | * 21 | * ************************************************************************ */ 22 | #include 23 | 24 | #ifndef _UTILIS_H 25 | #define _UTILIS_H 26 | 27 | #define TOGGLE_BIT(val, bitIndx) val ^= (1 << bitIndx) 28 | #define TOGGLE_FALSE(val, bitIndx) val &= ~(1 << bitIndx) 29 | 30 | 31 | #define DEFAULT_CHAR_SIZE 256 32 | #define LARGE_CHAR_SIZE 1024 33 | #define SMALL_CHAR_SIZE 32 34 | 35 | int calculate_text_height(char *desc, int width); 36 | int get_char_array_size(char *array[]); 37 | bool is_field_empty(char *text); 38 | int get_field_length(char *text, int field_width); 39 | void field_trim(char *src, char *dst, int max); 40 | 41 | int check_url(char *url); 42 | int check_path_exists(char *path, int max); 43 | 44 | void remove_slash(char *str); 45 | void remove_end_spaces(char *str, int max); 46 | int clear_str(char *str); 47 | 48 | bool is_rocm_installed(); 49 | bool get_value_of_wconfig(char *src, char *dst); 50 | bool is_dir_exist(char *path); 51 | 52 | 53 | 54 | #endif // _UTILIS_H 55 | -------------------------------------------------------------------------------- /src/offline-installer/VERSION: -------------------------------------------------------------------------------- 1 | 1.0.3 2 | 6.2.4 3 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/create-default.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=yes 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/deb/cleanup-create.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | CREATE_CLEAN_SOURCE_LIST_AMD=(repo-offline.list amdgpu-build.list amdgpu-local.list amdgpu.list amdgpu-proprietary.list rocm-build.list rocm.list) 26 | VALIDATE_REPO=/tmp/offline-repo 27 | CLEAN_REPO=0 28 | 29 | 30 | ###### Functions ############################################################### 31 | 32 | print_msg() { 33 | local msg=$1 34 | echo -e "\e[93m$msg\e[0m" 35 | } 36 | 37 | enable_sources_list() { 38 | if [ -f /etc/apt/sources-bak.list ]; then 39 | print_msg "^^^^ Enabling sources.list..." 40 | $SUDO mv /etc/apt/sources-bak.list /etc/apt/sources.list 41 | print_msg "^^^^ Enabling sources.list...Complete" 42 | fi 43 | 44 | if [ -f /etc/apt/sources.list.d/ubuntu.sources.bak ]; then 45 | print_msg "^^^^ Enabling ubuntu.sources..." 46 | $SUDO mv /etc/apt/sources.list.d/ubuntu.sources.bak /etc/apt/sources.list.d/ubuntu.sources 47 | print_msg "^^^^ Enabling ubuntu.sources...Complete" 48 | fi 49 | } 50 | 51 | cleanup_create() { 52 | # Restore/enable sources.list if previously disabled 53 | enable_sources_list 54 | 55 | # Remove any creator .list files 56 | for index in ${CREATE_CLEAN_SOURCE_LIST_AMD[@]}; do 57 | if [ -f /etc/apt/sources.list.d/$index ]; then 58 | print_msg "==== Removing $index ====" 59 | $SUDO rm /etc/apt/sources.list.d/$index 60 | CLEAN_REPO=1 61 | fi 62 | done 63 | 64 | # Remove any creator pin files 65 | if [ -f /etc/apt/preferences.d/rocm-local-pin-999 ]; then 66 | print_msg "==== Removing rocm-local-pin-999 ====" 67 | $SUDO rm /etc/apt/preferences.d/rocm-local-pin-999 68 | fi 69 | 70 | if [ -f /etc/apt/trusted.gpg.d/amdgpu-local.gpg ]; then 71 | print_msg "==== Removing amdgpu-local.gpg ====" 72 | $SUDO rm /etc/apt/trusted.gpg.d/amdgpu-local.gpg 73 | fi 74 | 75 | # Remove any offline validation repo if it exists 76 | if [ -d $VALIDATE_REPO ]; then 77 | print_msg "Deleting offline repo" 78 | $SUDO rm -r $VALIDATE_REPO 79 | fi 80 | 81 | if [ $CLEAN_REPO == 1 ]; then 82 | $SUDO apt-get update > /dev/null 2>&1 83 | $SUDO apt-get clean 84 | 85 | print_msg "Offline Create cleaned up." 86 | fi 87 | } 88 | 89 | 90 | ####### Main script ############################################################### 91 | 92 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 93 | 94 | cleanup_create 95 | 96 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/deb/installer-package/cleanup-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | INSTALL_CLEAN_SOURCE_LIST_AMD=(amdgpu-build.list amdgpu-local.list amdgpu.list rocm-build.list rocm.list) 26 | INSTALL_CLEAN_SOURCE_LIST=(repo-offline.list repo-offline-local.list) 27 | 28 | INSTALL_REPO=/tmp/offline-repo 29 | INSTALL_REPO_PIN=repo-offline-pin 30 | CLEAN_REPO=0 31 | 32 | 33 | ###### Functions ############################################################### 34 | 35 | print_msg() { 36 | local msg=$1 37 | echo -e "\e[93m$msg\e[0m" 38 | } 39 | 40 | enable_sources_list() { 41 | if [ -f /etc/apt/sources-bak.list ]; then 42 | print_msg "^^^^ Enabling sources.list..." 43 | $SUDO mv /etc/apt/sources-bak.list /etc/apt/sources.list 44 | print_msg "^^^^ Enabling sources.list...Complete" 45 | fi 46 | 47 | if [ -f /etc/apt/sources.list.d/ubuntu.sources.bak ]; then 48 | print_msg "^^^^ Enabling ubuntu.sources..." 49 | $SUDO mv /etc/apt/sources.list.d/ubuntu.sources.bak /etc/apt/sources.list.d/ubuntu.sources 50 | print_msg "^^^^ Enabling ubuntu.sources...Complete" 51 | fi 52 | } 53 | 54 | cleanup_repos() { 55 | # Restore/enable sources.list if previously disabled 56 | enable_sources_list 57 | 58 | # Remove any AMD .list files 59 | for index in ${INSTALL_CLEAN_SOURCE_LIST_AMD[@]}; do 60 | if [ -f /etc/apt/sources.list.d/$index ]; then 61 | print_msg "==== Removing $index ====" 62 | $SUDO rm /etc/apt/sources.list.d/$index 63 | CLEAN_REPO=1 64 | fi 65 | done 66 | 67 | if [ -d $INSTALL_REPO ]; then 68 | print_msg "==== Removing $INSTALL_REPO ====" 69 | rm -r $INSTALL_REPO 70 | fi 71 | 72 | # Remove any installer .list files 73 | for index in ${INSTALL_CLEAN_SOURCE_LIST[@]}; do 74 | if [ -f /etc/apt/sources.list.d/$index ]; then 75 | print_msg "==== Removing $index ====" 76 | $SUDO rm /etc/apt/sources.list.d/$index 77 | CLEAN_REPO=1 78 | fi 79 | done 80 | 81 | # Remove any install pin files 82 | if [ -f /etc/apt/preferences.d/$INSTALL_REPO_PIN ]; then 83 | print_msg "==== Removing $INSTALL_REPO_PIN ====" 84 | $SUDO rm /etc/apt/preferences.d/$INSTALL_REPO_PIN 85 | fi 86 | 87 | if [ $CLEAN_REPO == 1 ]; then 88 | $SUDO apt-get update > /dev/null 2>&1 89 | 90 | print_msg "Offline Install cleaned up." 91 | fi 92 | } 93 | 94 | 95 | ####### Main script ############################################################### 96 | 97 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 98 | 99 | cleanup_repos 100 | 101 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/deb/installer-package/repo-offline-pin: -------------------------------------------------------------------------------- 1 | Package: * 2 | Pin: origin "" 3 | Pin-Priority: 900 4 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/deb/installer-package/repo-offline.list: -------------------------------------------------------------------------------- 1 | deb [trusted=yes] file:/tmp/offline-repo ./ 2 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/deb/installer-package/repo.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/rocm-install-on-linux/9ae8eedf71fa16d274781a2139057ac856ae0f7a/src/offline-installer/scripts/deb/installer-package/repo.gpg -------------------------------------------------------------------------------- /src/offline-installer/scripts/el/cleanup-create.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | CREATE_CLEAN_YUM_REPOS_AMD=(repo-tar-offline.repo repo-offline.repo amdgpu.repo amdgpu-proprietary.repo amdgpu-build.repo amdgpu-local.repo rocm-build.repo rocm.repo) 26 | CLEAN_REPO=0 27 | 28 | 29 | ###### Functions ############################################################### 30 | 31 | print_msg() { 32 | local msg=$1 33 | echo -e "\e[93m$msg\e[0m" 34 | } 35 | 36 | restore_dnf_conf() { 37 | # restore the dnf.conf file from the backup file 38 | if [ -f /etc/yum.repos.d/epel.repo ]; then 39 | if [ -f /etc/dnf/dnf.conf.bak ]; then 40 | print_msg "==== Restoring .conf ====" 41 | $SUDO cp /etc/dnf/dnf.conf.bak /etc/dnf/dnf.conf 42 | $SUDO rm /etc/dnf/dnf.conf.bak 43 | fi 44 | fi 45 | } 46 | 47 | cleanup_create() { 48 | 49 | # restore the dnf.conf 50 | restore_dnf_conf 51 | 52 | # Remove any creator .repo files 53 | for index in ${CREATE_CLEAN_YUM_REPOS_AMD[@]}; do 54 | if [ -f /etc/yum.repos.d/$index ]; then 55 | print_msg "==== Removing $index ====" 56 | $SUDO rm /etc/yum.repos.d/$index 57 | CLEAN_REPO=1 58 | fi 59 | done 60 | 61 | if [ $CLEAN_REPO == 1 ]; then 62 | # cleanup dnf cache 63 | $SUDO dnf clean all 64 | $SUDO rm -r /var/cache/dnf/* 65 | 66 | print_msg "Offline Create cleaned up." 67 | fi 68 | } 69 | 70 | 71 | ####### Main script ############################################################### 72 | 73 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 74 | 75 | cleanup_create 76 | 77 | 78 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/el/installer-package/cleanup-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | INSTALL_CLEAN_YUM_REPOS_AMD=(repo-offline.repo amdgpu.repo amdgpu-proprietary.repo amdgpu-build.repo rocm-build.repo rocm.repo) 26 | INSTALL_REPO=/tmp/offline-repo 27 | CLEAN_REPO=0 28 | 29 | 30 | ###### Functions ############################################################### 31 | 32 | print_msg() { 33 | local msg=$1 34 | echo -e "\e[93m$msg\e[0m" 35 | } 36 | 37 | cleanup_repos() { 38 | # Remove any AMD .repo files 39 | for index in ${INSTALL_CLEAN_YUM_REPOS_AMD[@]}; do 40 | if [ -f /etc/yum.repos.d/$index ]; then 41 | print_msg "==== Removing $index ====" 42 | $SUDO rm /etc/yum.repos.d/$index 43 | CLEAN_REPO=1 44 | fi 45 | done 46 | 47 | if [ -d $INSTALL_REPO ]; then 48 | print_msg "==== Removing $INSTALL_REPO ====" 49 | rm -r $INSTALL_REPO 50 | fi 51 | 52 | if [ $CLEAN_REPO == 1 ]; then 53 | # cleanup dnf cache 54 | $SUDO dnf clean all 55 | $SUDO rm -r /var/cache/dnf/* 56 | 57 | print_msg "Offline Install cleaned up." 58 | fi 59 | } 60 | 61 | 62 | ####### Main script ############################################################### 63 | 64 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 65 | 66 | cleanup_repos 67 | 68 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/el/installer-package/repo-offline.repo: -------------------------------------------------------------------------------- 1 | [repo-offline] 2 | name=ROCm-amdgpu offline repository 3 | baseurl=file:///tmp/offline-repo 4 | enabled=0 5 | module_hotfixes=true 6 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/sle/cleanup-create.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | CREATE_CLEAN_ZYP_REPOS_AMD=(repo-tar-offline.repo repo-offline.repo amdgpu.repo amdgpu-proprietary.repo amdgpu-build.repo amdgpu-local.repo amdgpu.repo.rpmsave rocm-build.repo rocm.repo rocm.repo.rpmsave Education.repo) 26 | CLEAN_REPO=0 27 | 28 | 29 | ###### Functions ############################################################### 30 | 31 | print_msg() { 32 | local msg=$1 33 | echo -e "\e[93m$msg\e[0m" 34 | } 35 | 36 | cleanup_create() { 37 | # Remove any creator .repo files 38 | for index in ${CREATE_CLEAN_ZYP_REPOS_AMD[@]}; do 39 | if [ -f /etc/zypp/repos.d/$index ]; then 40 | print_msg "==== Removing $index ====" 41 | $SUDO rm /etc/zypp/repos.d/$index 42 | CLEAN_REPO=1 43 | fi 44 | done 45 | 46 | if [ $CLEAN_REPO == 1 ]; then 47 | # cleanup zypper cache 48 | $SUDO zypper clean 49 | $SUDO zypper refresh > /dev/null 2>&1 50 | 51 | print_msg "Offline Create cleaned up." 52 | fi 53 | } 54 | 55 | 56 | ####### Main script ############################################################### 57 | 58 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 59 | 60 | cleanup_create 61 | 62 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/sle/installer-package/cleanup-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ############################################################################# 4 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. 5 | # 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | # ############################################################################# 24 | 25 | INSTALL_CLEAN_ZYP_REPOS_AMD=(repo-offline.repo amdgpu.repo amdgpu-proprietary.repo amdgpu-build.repo rocm-build.repo rocm.repo) 26 | INSTALL_REPO=/tmp/offline-repo 27 | CLEAN_REPO=0 28 | 29 | 30 | ###### Functions ############################################################### 31 | 32 | print_msg() { 33 | local msg=$1 34 | echo -e "\e[93m$msg\e[0m" 35 | } 36 | 37 | cleanup_repos() { 38 | # Remove any AMD .repo files 39 | for index in ${INSTALL_CLEAN_ZYP_REPOS_AMD[@]}; do 40 | if [ -f /etc/zypp/repos.d/$index ]; then 41 | print_msg "==== Removing $index ====" 42 | $SUDO rm /etc/zypp/repos.d/$index 43 | CLEAN_REPO=1 44 | fi 45 | done 46 | 47 | if [ -d $INSTALL_REPO ]; then 48 | print_msg "==== Removing $INSTALL_REPO ====" 49 | rm -r $INSTALL_REPO 50 | fi 51 | 52 | if [ $CLEAN_REPO == 1 ]; then 53 | # cleanup zypper cache 54 | $SUDO zypper clean 55 | 56 | print_msg "Offline Install cleaned up." 57 | fi 58 | } 59 | 60 | 61 | ####### Main script ############################################################### 62 | 63 | SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:) 64 | 65 | cleanup_repos 66 | 67 | -------------------------------------------------------------------------------- /src/offline-installer/scripts/sle/installer-package/repo-offline.repo: -------------------------------------------------------------------------------- 1 | [repo-offline] 2 | name=ROCm-amdgpu offline repository 3 | baseurl=file:///tmp/offline-repo 4 | enabled=1 5 | gpgcheck=0 6 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-5.7.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=5.7.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.0.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.0.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.1.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.1.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.1.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.1.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.1.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.2.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.2.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.2.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.2.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.2.4.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.2.4 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-driver-only-6.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=dkms 14 | ROCM_VERSIONS=6.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-5.7.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=5.7.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.0.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.0.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.1.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.1.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.1.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.1.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.1.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.2.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.2.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.2.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.2.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.2.4.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.2.4 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-hip-hiplibsdk-6.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=hip,hiplibsdk 14 | ROCM_VERSIONS=6.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-5.7.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=5.7.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.0.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.0.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.1.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.1.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.1.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.1.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.1.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.2.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.2.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.2.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.2.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.2.4.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.2.4 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-driver-6.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,dkms 14 | ROCM_VERSIONS=6.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=yes 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-5.7.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=5.7.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.0.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.0.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.1.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.1.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.1.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.1.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.1.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.2.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.2.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.2.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.2.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.2.4.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.2.4 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-graphics-6.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm,graphics 14 | ROCM_VERSIONS=6.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-5.7.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=5.7.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.0.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.0.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.1.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.1.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.1.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.1.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.1.3.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.1.3 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.2.1.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.2.1 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.2.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.2.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.2.4.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.2.4 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /src/offline-installer/tests/create-test-rocm-only-6.2.config: -------------------------------------------------------------------------------- 1 | # Creator/Build Options 2 | ############################### 3 | INSTALL_PACKAGE_TYPE=0 4 | INSTALL_PACKAGE_NAME="rocm-offline-install.run" 5 | INSTALL_PACKAGE_DIR="$HOME" 6 | 7 | INSTALL_PACKAGE_REPO=0 8 | 9 | DOWNLOAD_PKG_CONFIG_NUM=0 10 | 11 | # ROCm Options 12 | ############################### 13 | ROCM_USECASES=rocm 14 | ROCM_VERSIONS=6.2 15 | 16 | # Driver/amdgpu Options 17 | ############################### 18 | AMDGPU_INSTALL_DRIVER=no 19 | AMDGPU_POST_INSTALL_VIDEO_RENDER_GRP=no 20 | AMDGPU_POST_INSTALL_BLACKLIST=no 21 | AMDGPU_POST_INSTALL_START=no 22 | 23 | # Extra Package Options 24 | ############################### 25 | EXTRA_PACKAGES_ONLY=no 26 | EXTRA_PACKAGES="" 27 | 28 | -------------------------------------------------------------------------------- /tasks.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | from invoke import task 4 | from pathlib import Path 5 | 6 | SOURCE_DIR = Path(__file__).parent / "docs" 7 | BUILD_DIR = SOURCE_DIR / "_build" 8 | 9 | 10 | @task 11 | def clean(c): 12 | import shutil 13 | 14 | print(f"Removing build dir: {BUILD_DIR}") 15 | if BUILD_DIR.exists(): 16 | shutil.rmtree(BUILD_DIR) 17 | 18 | 19 | @task 20 | def build(c): 21 | from sphinx.application import Sphinx 22 | 23 | build_dir_html = BUILD_DIR / "html" 24 | build_dir_doctree = BUILD_DIR / "doctrees" 25 | 26 | conf_overrides = {"language": "en"} 27 | 28 | app = Sphinx( 29 | str(SOURCE_DIR), 30 | str(SOURCE_DIR), # Directory containing conf.py, typically the same as SOURCE_DIR 31 | str(build_dir_html), # Output directory 32 | str(build_dir_doctree), # Doctree directory 33 | "html", # Builder name 34 | conf_overrides, # Configuration overrides 35 | freshenv=True, # Equivalent to -E option 36 | warningiserror=False, # You can change this as needed 37 | tags=[], # Tags can be used to conditionally include/exclude content 38 | verbosity=0, # Increase verbosity (0 by default, increase for more messages) 39 | ) 40 | 41 | # Build the project 42 | app.build(force_all=True) # force_all is like the -a option, rebuild everything 43 | --------------------------------------------------------------------------------