Skip to content

Commit d0cc152

Browse files
jychang48thomasgibsondoscherda
committed
Refresh rocm installation and profiler blogs
Co-authored-by: Thomas Gibson <[email protected]> Co-authored-by: doscherda <[email protected]>
1 parent 52c6cdc commit d0cc152

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

profilers/README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ The following terms are used in this blog post:
5959
| [AMD "Zen" Core](https://www.amd.com/en/technologies/zen-core)| AMD's x86-64 processor core architecture design. Used by the AMD EPYC&trade;, AMD Ryzen&trade;, AMD Ryzen&trade; PRO, and AMD Threadripper&trade; PRO processor series.|
6060
| [RDNA&trade;](https://www.amd.com/en/technologies/rdna) | AMD's Traditional GPU architecture optimized for graphically demanding workloads like gaming and visualization. Includes the RX 5000, 6000 and 7000 GPUs. |
6161
| [CDNA&trade;](https://www.amd.com/en/technologies/cdna) | AMD's Compute dedicated GPU architecture optimized for accelerating HPC, ML/AI, and data center type workloads. Includes the AMD Instinct™ MI50/60, MI100, and MI200 series accelerators.|
62-
| [GCN](https://www.amd.com/en/technologies/gcn) | AMD's pre-CDNA&trade;/RDNA&trade; GPU architecture |
63-
| [HIP](https://docs.amd.com/bundle/HIP-Programming-Guide-v5.3/page/Introduction_to_HIP_Programming_Guide.html) | A C++ Runtime API and kernel language that allows developers to create portable compute kernels/applications for AMD and NVIDIA GPUs from a single source code |
64-
| Timeline Trace | A profiling approach where durations of compute kernels and data transfers between devices are collected and visualized |
65-
| [Roofline Analysis](https://enccs.github.io/AMD-ROCm-development/hierarchical_roofline/) | Hardware agnostic methodology for quantifying a workload's ability to saturate the given compute architecture in terms of floating-point compute and memory bandwidth |
62+
| [HIP](https://rocm.docs.amd.com/projects/HIP/en/latest/user_guide/programming_manual.html) | A C++ Runtime API and kernel language that allows developers to create portable compute kernels/applications for AMD and NVIDIA GPUs from a single source code |
63+
| [Timeline Trace](https://amdresearch.github.io/omnitrace/output.html#perfetto-output) | A profiling approach where durations of compute kernels and data transfers between devices are collected and visualized |
64+
| [Roofline Analysis](https://amdresearch.github.io/omniperf/profiling.html#standalone-roofline) | Hardware agnostic methodology for quantifying a workload's ability to saturate the given compute architecture in terms of floating-point compute and memory bandwidth |
6665
| Hardware Counters | Individual metrics which track how many times a certain event occurs in the hardware, such as bytes moved from L2 cache or a 32 bit floating point add performed |
6766

6867
## What tools to use?
@@ -223,7 +222,7 @@ and collecting counters during the execution.
223222

224223
The `rocprof` utility also depends on the
225224
[ROC-tracer](https://github.com/ROCm-Developer-Tools/roctracer) and
226-
[ROC-TX](https://docs.amd.com/en-US/bundle/ROCTracer-User-Guide-v5.0-/page/ROCTX_Application_Code_Annotation.html)
225+
[ROC-TX](https://rocm.docs.amd.com/projects/roctracer/en/latest/roctracer_spec.html#)
227226
libraries, giving it the ability to collect timeline traces of the GPU software stack
228227
as well as user anotated code regions. Note that `rocprof` is a command-line only
229228
utility so input and output takes the format of txt and CSV files. These formats
@@ -234,8 +233,8 @@ but requires extra effort to analyze the collected data.
234233
### Radeon&trade; GPU Profiler
235234

236235
The [Radeon&trade; GPU Profiler](https://radeon-gpuprofiler.readthedocs.io/en/latest/) is a performance tool that can be used by traditional
237-
gaming and visualization developers to optimize DirectX 12 (DX12), Vulkan&trade; for AMD
238-
RDNA&trade; and GCN hardware. The Radeon&trade; GPU Profiler (RGP) is a ground-breaking
236+
gaming and visualization developers to optimize DirectX 12 (DX12) and Vulkan&trade; for AMD
237+
RDNA&trade; hardware. The Radeon&trade; GPU Profiler (RGP) is a ground-breaking
239238
low-level optimization tool from AMD. It provides detailed timing information
240239
on Radeon&trade; Graphics using custom, built-in, hardware thread-tracing, allowing
241240
the developer deep inspection of GPU workloads. This unique tool generates

rocm-installation/README.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ SOFTWARE.
2323

2424
AMD ROCm™ is the first open-source software development platform for HPC/Hyperscale-class GPU computing. AMD ROCm™ brings the UNIX philosophy of choice, minimalism and modular software development to GPU computing. Please see the AMD [Open Software Platform for GPU Compute](https://www.amd.com/en/graphics/servers-solutions-rocm) and [ROCm Informational Portal](https://rocm.docs.amd.com/) pages for more information.
2525

26+
More detailed information on ROCm installation is available on the [Deploy ROCm on Linux](https://rocm.docs.amd.com/en/latest/deploy/linux/index.html) page.
27+
2628
Installation of the AMD ROCm™ software package can be challenging without a clear understanding of the pieces involved and the flow of the installation process. This introductory material shows how to install ROCm on a workstation with an AMD GPU card that supports the AMD GFX9 architecture. A follow on blog will discuss installing ROCm in other environments, such as a Docker Container, Linux LXC or a full HPC installation.
2729

28-
The website [https://rocm.docs.amd.com](https://rocm.docs.amd.com) contains links to the Release, Support and API documentation for ROCm. Please refer to the [Installation Guide](https://rocm.docs.amd.com/en/latest/deploy/linux/) and [Hardware / Software Support Guide](https://rocm.docs.amd.com/en/latest/release/gpu_os_support.html) for the software and hardware supported by the V 5.4 release of ROCm. This post will be based on an Ubuntu 20.04 operating system and the AMD MI50 GPU card. The full installation process is documentated in the [Installation Guide](https://rocm.docs.amd.com/en/latest/deploy/linux/).
30+
The website [https://rocm.docs.amd.com](https://rocm.docs.amd.com) contains links to the Release, Support and API documentation for ROCm. Please refer to the [Installation Guide](https://rocm.docs.amd.com/en/latest/deploy/linux/) and [Hardware / Software Support Guide](https://rocm.docs.amd.com/en/latest/release/gpu_os_support.html) for the software and hardware supported by the V 5.7 release of ROCm. This post will be based on an Ubuntu 22.04 operating system and the AMD MI (MI210, MI250, etc.) series GPU card. The full installation process is documentated in the [Installation Guide](https://rocm.docs.amd.com/en/latest/deploy/linux/).
2931

3032
AMD ROCm™ is a brand name for the ROCm open software platform supporting GPUs using AMD's CDNA, and RDNA GPU architectures. The platform includes drivers and runtimes for libraries and developer tools.
3133

@@ -37,12 +39,12 @@ AMD ROCm™ is a brand name for the ROCm open software platform supporting GPUs
3739

3840
## Option 1
3941

40-
AMD provides an installation script for specific operating system and ROCm versions. The script name and download location can be different for each combination of O/S and ROCm so check the [How to Install page](https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html) for your specific combination. We are using Ubuntu 20.04 and installing ROCm 5.4.3 and find that the script is named *amdgpu-install_5.4.50403-1_all*.
42+
AMD provides an installation script for specific operating system and ROCm versions. The script name and download location can be different for each combination of O/S and ROCm so check the [How to Install page](https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html) for your specific combination. We are using Ubuntu 22.04 and installing ROCm 5.7.1 and find that the script is named *amdgpu-install_5.7.50701-1_all*.
4143

4244
```bash
43-
sudo apt-get update
44-
wget https://repo.radeon.com/amdgpu-install/5.4.3/ubuntu/focal/amdgpu-install_5.4.50403-1_all.deb
45-
sudo apt install ./amdgpu-install_5.4.50403-1_all.deb
45+
sudo apt update
46+
wget https://repo.radeon.com/amdgpu-install/5.7.1/ubuntu/jammy/amdgpu-install_5.7.50701-1_all.deb
47+
sudo apt install ./amdgpu-install_5.7.50701-1_all.deb
4648
```
4749
Once the amdgpu-install script has been extracted, it can be used to install the kernel code, libraries and developer code. For a typical HPC environment HIP, ROCm and the kernel drivers should be sufficient:
4850
```bash
@@ -67,27 +69,27 @@ To remove all old versions use:
6769
sudo amdgpu-uninstall --rocmrelease=all
6870
```
6971

70-
AMD provides an installation script for specific operating system and ROCm versions. The script name and download location can be different for each combination of O/S and ROCm so check the [How to Install page](https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html) for your specific combination. We are using Ubuntu 20.04 and installing ROCm 5.4 and find that the script is named *amdgpu-install_5.4.50400-1_all*.
72+
AMD provides an installation script for specific operating system and ROCm versions. The script name and download location can be different for each combination of O/S and ROCm so check the [How to Install page](https://rocm.docs.amd.com/en/latest/deploy/linux/installer/install.html) for your specific combination. We are using Ubuntu 22.04 and installing ROCm 5.7.1 and find that the script is named *amdgpu-install_5.7.50701-1_all*.
7173

7274
```bash
73-
sudo apt-get update
74-
wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/focal/amdgpu-install_5.4.50400-1_all.deb
75-
sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb
75+
sudo apt update
76+
wget https://repo.radeon.com/amdgpu-install/5.7.1/ubuntu/jammy/amdgpu-install_5.7.50701-1_all.deb
77+
sudo apt install ./amdgpu-install_5.7.50701-1_all.deb
7678
```
7779
Once the amdgpu-install script has been extracted, it can be used to install the kernel code, libraries and developer code.
78-
The steps below will install the kernel driver code at level 5.4.0 and the libraries at level 5.4.0, 5.3.2 and 5.2.3. For a typical HPC environment, HIP and the ROCm libraries should be sufficient:
80+
The steps below will install the kernel driver code at level 5.7.1 and the libraries at level 5.7.0 and 5.7.1. For a typical HPC environment, HIP and the ROCm libraries should be sufficient:
7981
```bash
80-
sudo amdgpu-install --usecase=hiplibsdk,rocm,dkms --rocmrelease=5.4.0
81-
sudo amdgpu-install --usecase=hiplibsdk,rocm --rocmrelease=5.3.2 --no-dkms
82-
sudo amdgpu-install --usecase=hiplibsdk,rocm --rocmrelease=5.2.3 --no-dkms
82+
sudo amdgpu-install --usecase=hiplibsdk,rocm,dkms --rocmrelease=5.7.1
83+
sudo amdgpu-install --usecase=hiplibsdk,rocm --rocmrelease=5.7.0 --no-dkms
84+
sudo amdgpu-install --usecase=hiplibsdk,rocm --rocmrelease=5.7.1 --no-dkms
8385
```
8486
Additional libraries can be installed and the list of available use cases can be found using:
8587
```bash
8688
sudo amdgpu-install --list-usecase
8789
```
8890
The ROCm code installs to /opt/rocm by default. You can verify that ROCm is installed by running
8991
```bash
90-
/opt/rocm-5.4.0/bin/rocminfo
92+
/opt/rocm-5.7.1/bin/rocminfo
9193
```
9294
and checking that the card was detected by the software. The supported GPU card will start with "GFX9".
9395

@@ -98,7 +100,7 @@ The full apt-get process is shown on the [How to Install page](https://rocm.docs
98100

99101
Determine the location of the ROCm software to install and HIP and the related ROCm software:
100102
```bash
101-
export ROCM_REPO_BASEURL="https://repo.radeon.com/rocm/apt/5.4/"
103+
export ROCM_REPO_BASEURL="https://repo.radeon.com/rocm/apt/5.7.1/"
102104
export ROCM_REPO_COMP="ubuntu"
103105
export ROCM_REPO_BUILD="main"
104106
echo "deb [arch=amd64 trusted=yes] ${ROCM_REPO_BASEURL} ${ROCM_REPO_COMP} ${ROCM_REPO_BUILD}" > /etc/apt/sources.list.d/rocm.list

0 commit comments

Comments
 (0)