Files
ROCm/docs/tutorials/quick-start/windows.md
2023-09-18 12:26:31 -06:00

141 lines
6.5 KiB
Markdown

# Windows quick-start installation guide
For a quick summary on installing ROCm (HIP SDK) on Windows, follow the steps listed on this page. If
you want a more in-depth installation guide, see
[Installing ROCm on Windows](../install/windows/index.md).
## System requirements
The HIP SDK is supported on Windows 10 and 11. The HIP SDK may be installed on a
system without AMD GPUs to use the build toolchains. To run HIP applications, a
compatible GPU is required. Please see the supported GPU guide for more details.
## HIP SDK installation
### Download the installer
Download the installer from the
[HIP-SDK download page](https://www.amd.com/en/developer/rocm-hub/hip-sdk.html).
### Launching the installer
To launch the AMD HIP SDK Installer, click the **Setup** icon shown in the following image.
![Icon with AMD arrow logo and User Access Control Shield overlay](../../data/tutorials/install/windows/000-setup-icon.png "Setup Icon")
The installer requires Administrator Privileges, so you may be greeted with a
User Access Control (UAC) pop-up. Click Yes.
![User Access Control pop-up](../../data/tutorials/install/windows/001-uac-dark.png "User Access Control pop-up")
![User Access Control pop-up](../../data/tutorials/install/windows/001-uac-light.png "User Access Control pop-up")
The installer executable will temporarily extract installer packages to `C:\AMD`
which it will remove after installation completes. This extraction is signified
by the "Initializing install" window in the following image.
![Window with AMD arrow logo, futuristic background and progress counter](../../data/tutorials/install/windows/002-initializing.png "Installer initialization window")
The installer will then detect your system configuration to determine which installable components
are applicable to your system.
![Window with AMD arrow logo, futuristic background and activity indicator](../../data/tutorials/install/windows/003-detecting-system-config.png "Installer initialization window")
### Customizing the install
When the installer launches, it displays a window that lets the user customize
the installation. By default, all components are selected for installation.
Refer to the following image for an instance when the Select All option
is turned on.
![Window with AMD arrow logo, futuristic background and activity indicator](../../data/tutorials/install/windows/004-installer-window.png "Installer initialization window")
#### HIP SDK installer
The HIP SDK installation options are listed in the following table.
```{table} HIP SDK Components for Installation
:name: hip-sdk-options-win
| **HIP Components** | **Install Type** | **Additional Options** |
|:------------------:|:----------------:|:----------------------:|
| HIP SDK Core | 5.5.0 | Install location |
| HIP Libraries | Full, Partial, None | Runtime, Development (Libs and headers) |
| HIP Runtime Compiler | Full, Partial, None | Runtime, Development (Headers) |
| HIP Ray Tracing | Full, Partial, None | Runtime, Development (Headers) |
| Visual Studio Plugin | Full, Partial, None | Visual Studio 2017, 2019, 2022 Plugin |
```
```{note}
The Select/DeSelect All option only applies to the installation of HIP SDK
components. To install the bundled AMD Display Driver, manually select the
install type.
```
```{tip}
Should you only wish to install a few select components,
DeSelecting All and then picking the individual components may be more
convenient.
```
#### AMD display driver
The HIP SDK installer bundles an AMD Radeon Software PRO 23.10 installer. The
supported install options are summarized in the following table:
```{table} AMD Display Driver Install Options
:name: display-driver-install-win
| **Install Option** | **Description** |
|:------------------:|:---------------:|
| Install Location | Location on disk to store driver files. |
| Install Type | The breadth of components to be installed. |
| Factory Reset (Optional) | A Factory Reset will remove all prior versions of AMD HIP SDK and drivers. You will not be able to roll back to previously installed drivers. |
```
```{table} AMD Display Driver Install Types
:name: display-driver-win-types
| **Install Type** | **Description** |
|:----------------:|:---------------:|
| Full Install | Provides all AMD Software features and controls for gaming, recording, streaming, and tweaking the performance on your graphics hardware. |
| Minimal Install | Provides only the basic controls for AMD Software features and does not include advanced features such as performance tweaking or recording and capturing content. |
| Driver Only | Provides no user interface for AMD Software features. |
```
```{note}
You must perform a system restart for a complete installation of the
Display Driver.
```
### Installing components
Please wait for the installation to complete during as shown in the following image.
![Window with AMD arrow logo, futuristic background and progress meter](../../data/tutorials/install/windows/012-install-progress.png "Installation progress")
### Installation complete
Once the installation is complete, the installer window may prompt you for a
system restart. Click **Restart** at the lower right corner, shown in the following image.
![Window with AMD arrow logo, futuristic background and completion notice](../../data/tutorials/install/windows/013-install-complete.png "Installation complete")
```{error}
Should the installer terminate due to unexpcted circumstances, or the user
forcibly terminates the installer, the temporary directory created under
`C:\AMD` may be safely removed. Installed components will not depend on this
folder (unless the user specifies `C:\AMD` as an install folder explicitly).
```
## Uninstallation
All components, except visual studio plug-in should be uninstalled through
control panel -> Add/Remove Program. For visual studio extension uninstallation,
please refer to
<https://github.com/ROCm-Developer-Tools/HIP-VS/blob/master/README.md>.
Uninstallation of the HIP SDK components can be done through the Windows
Settings app. Navigate to "Apps > Installed apps", click the "..." on the far
right next to the component to uninstall, and click "Uninstall".
![Installed apps section of the settings app showing installed HIP SDK components](../../data/tutorials/install/windows/014-uninstall-dark.png "Removing the SDK via the settings app")
![Installed apps section of the settings app showing installed HIP SDK components](../../data/tutorials/install/windows/014-uninstall-light.png "Removing the SDK via the settings app")