mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 22:58:17 -05:00
Compare commits
234 Commits
roc-2.7.0
...
rocm-3.5.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c835d14fc | ||
|
|
25dea0df9f | ||
|
|
11968356fc | ||
|
|
c2d8aa3426 | ||
|
|
cc37d13828 | ||
|
|
63ed31781d | ||
|
|
5502ce3c41 | ||
|
|
2adb254db3 | ||
|
|
640b0e0cec | ||
|
|
4b67bbc512 | ||
|
|
4eddbb0f2f | ||
|
|
6dd212c1ff | ||
|
|
1b49b1d598 | ||
|
|
d85d330f17 | ||
|
|
c3efbe0263 | ||
|
|
e72d9d16f2 | ||
|
|
d6ebde1c2b | ||
|
|
c270440e1d | ||
|
|
87212e992e | ||
|
|
b9f3ba6cda | ||
|
|
befa37295e | ||
|
|
6e957870bd | ||
|
|
6906210c51 | ||
|
|
88a2c6a311 | ||
|
|
10366c7bae | ||
|
|
613020c029 | ||
|
|
bbf233a8a0 | ||
|
|
6dfc3154dc | ||
|
|
f38ab28a19 | ||
|
|
5aa6de9001 | ||
|
|
45bc0b6e8f | ||
|
|
46fe870c8d | ||
|
|
2d3d61969f | ||
|
|
6d9651756c | ||
|
|
435eee1860 | ||
|
|
ca7d03f4a6 | ||
|
|
aa48cad227 | ||
|
|
2f3d09e898 | ||
|
|
82ecac74bb | ||
|
|
d693175b09 | ||
|
|
293b24d915 | ||
|
|
950874f674 | ||
|
|
34586f3bd4 | ||
|
|
39790b6ea4 | ||
|
|
b6bf0086d0 | ||
|
|
c81f5e59cf | ||
|
|
353f901378 | ||
|
|
21e76e3fa5 | ||
|
|
488b62219f | ||
|
|
1a5a5efbd3 | ||
|
|
f69a8c19e5 | ||
|
|
6eb53b9931 | ||
|
|
4bfa3780e3 | ||
|
|
c159d23e3c | ||
|
|
fb1709623b | ||
|
|
e853bbe63d | ||
|
|
657ed79dee | ||
|
|
da8a01deb0 | ||
|
|
fbdfeecd14 | ||
|
|
c524da62f0 | ||
|
|
854b2278e9 | ||
|
|
b00a2885ea | ||
|
|
0e53cfa829 | ||
|
|
fef7342549 | ||
|
|
f6565e7f3f | ||
|
|
c56404399b | ||
|
|
664311f4fe | ||
|
|
f45bfbfeed | ||
|
|
f00e4fdf7b | ||
|
|
ae5f7d7be9 | ||
|
|
720760ad63 | ||
|
|
b8a0a90287 | ||
|
|
73ed1122fa | ||
|
|
d50a208edd | ||
|
|
720c7cddc7 | ||
|
|
586a57823a | ||
|
|
c546c5fe3c | ||
|
|
a3ce396048 | ||
|
|
51a22a97f9 | ||
|
|
72ddeef85b | ||
|
|
6cafd3b8fd | ||
|
|
111f8e8409 | ||
|
|
27bc1477f1 | ||
|
|
edc179783c | ||
|
|
65f1d2ee30 | ||
|
|
21cc30341c | ||
|
|
8fac5002c4 | ||
|
|
77764b4887 | ||
|
|
b952ebd666 | ||
|
|
107bbd8abc | ||
|
|
77e77172a4 | ||
|
|
db6dbdcc7a | ||
|
|
924f08a6af | ||
|
|
9406a51332 | ||
|
|
c76270cb72 | ||
|
|
5a82caca04 | ||
|
|
f0d15004a0 | ||
|
|
6a4ae7c703 | ||
|
|
f49275a805 | ||
|
|
93858f653b | ||
|
|
2a1c123ad8 | ||
|
|
7676103619 | ||
|
|
202562d9fe | ||
|
|
c10e1fcfe2 | ||
|
|
a298b06a72 | ||
|
|
2f9e5b68e7 | ||
|
|
a899984e4e | ||
|
|
ccfe2f1a34 | ||
|
|
09196ba787 | ||
|
|
606cc11ebe | ||
|
|
caead32d16 | ||
|
|
75d01b3a23 | ||
|
|
6e3be7651a | ||
|
|
a7d27a43dc | ||
|
|
af5b8e1b93 | ||
|
|
b7e9232861 | ||
|
|
dd86238927 | ||
|
|
f452920919 | ||
|
|
150d8a89da | ||
|
|
7af0f9144b | ||
|
|
ca1f7bc166 | ||
|
|
a0773a297a | ||
|
|
b421b06456 | ||
|
|
754ebcec86 | ||
|
|
27daab068e | ||
|
|
6c70298860 | ||
|
|
29576d17a3 | ||
|
|
92a74beed5 | ||
|
|
4ac14e8095 | ||
|
|
04379e089e | ||
|
|
f5cae8347d | ||
|
|
2759642432 | ||
|
|
8879e01c90 | ||
|
|
5d05e3fdb6 | ||
|
|
5c8047181e | ||
|
|
eba4c1a25c | ||
|
|
01d806e5c1 | ||
|
|
d3ede323b6 | ||
|
|
f5ab073219 | ||
|
|
56e083faac | ||
|
|
fd95c06730 | ||
|
|
0852725b63 | ||
|
|
0bcf42d721 | ||
|
|
789ab1a6db | ||
|
|
65beddddb8 | ||
|
|
917a03430f | ||
|
|
fefcb606fa | ||
|
|
8f3d0331e0 | ||
|
|
9f39dd9458 | ||
|
|
7b52d73349 | ||
|
|
b22c12266a | ||
|
|
c02e11b650 | ||
|
|
9ff3311a58 | ||
|
|
1ca2e8eb87 | ||
|
|
886af2c92f | ||
|
|
7370793bc7 | ||
|
|
20cd1c8e53 | ||
|
|
a65935a02e | ||
|
|
03270a5bd5 | ||
|
|
1d24ed9f9c | ||
|
|
c0876b7ae5 | ||
|
|
6b5707bfd9 | ||
|
|
e6499f1563 | ||
|
|
8ac3b0dcd9 | ||
|
|
7f986f30d1 | ||
|
|
87aa7362a3 | ||
|
|
dde6ae15db | ||
|
|
63eea0e9e7 | ||
|
|
0ffc79f9b8 | ||
|
|
32d48a74b9 | ||
|
|
f6aa4d149e | ||
|
|
6ef9776d50 | ||
|
|
929f927ada | ||
|
|
e0043fa0a1 | ||
|
|
354d8b5615 | ||
|
|
aa17cc4dd0 | ||
|
|
c73d4777b9 | ||
|
|
cd0a756584 | ||
|
|
3d6de36a21 | ||
|
|
19efdc7d7b | ||
|
|
ea1b9f85f5 | ||
|
|
d948b1c844 | ||
|
|
046a4c35a6 | ||
|
|
916bc37963 | ||
|
|
caf1f2e5aa | ||
|
|
e5bbf892a9 | ||
|
|
36e7bc054b | ||
|
|
d8fb001470 | ||
|
|
c67e8b1e2f | ||
|
|
3ec6301df1 | ||
|
|
dffe4ff850 | ||
|
|
77d20a4b1d | ||
|
|
7c52f68bd4 | ||
|
|
c6bb911570 | ||
|
|
e8c598d156 | ||
|
|
e9490d3a0b | ||
|
|
afa76ba6a4 | ||
|
|
da16cd49f3 | ||
|
|
67a3649dce | ||
|
|
d54224f6f5 | ||
|
|
84efdd8493 | ||
|
|
8bd9a52740 | ||
|
|
fbf04f0680 | ||
|
|
33b01a9d73 | ||
|
|
6df6f25b24 | ||
|
|
06b723a026 | ||
|
|
ac085f166f | ||
|
|
269e6dde84 | ||
|
|
664d08dd66 | ||
|
|
9c038ae6cd | ||
|
|
8b11d2d51c | ||
|
|
cd14a94f45 | ||
|
|
cd0c1a7158 | ||
|
|
c135c6ca16 | ||
|
|
29398068cb | ||
|
|
36f1dc6467 | ||
|
|
215a0ca513 | ||
|
|
3af7f0c2b6 | ||
|
|
5798b691bf | ||
|
|
81ca4c3ae8 | ||
|
|
c6c9850a46 | ||
|
|
e6adf53679 | ||
|
|
e88d9b533c | ||
|
|
0a41c5df4e | ||
|
|
b178fa0666 | ||
|
|
725f57b531 | ||
|
|
70f9bf263e | ||
|
|
445ac506cb | ||
|
|
360fa794e1 | ||
|
|
128e3af2bd | ||
|
|
71993cf7c6 | ||
|
|
a9bb319d96 | ||
|
|
6d5e854277 | ||
|
|
b1b081fa8f |
BIN
AMD_ROCm_Release_Notes_v3.5.1.pdf
Normal file
BIN
AMD_ROCm_Release_Notes_v3.5.1.pdf
Normal file
Binary file not shown.
BIN
HIPClang2.png
Normal file
BIN
HIPClang2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
943
README.md
943
README.md
@@ -1,108 +1,369 @@
|
||||
## Are You Ready to ROCK?
|
||||
The ROCm Platform brings a rich foundation to advanced computing by seamlessly integrating the CPU and GPU with the goal of solving real-world problems.
|
||||
This software enables the high-performance operation of AMD GPUs for computation oriented tasks in the Linux operating system.
|
||||
Please refer the ROCm Documentation [here](https://rocm-documentation.readthedocs.io/en/latest/index.html).
|
||||
# AMD ROCm v3.5.1 Patch Release
|
||||
|
||||
### Current ROCm Version: 2.7
|
||||
AMD ROCm released a maintenance patch release v3.5.1. For more information about the release see,
|
||||
|
||||
- [New features and enhancements in ROCm 2.7](#new-features-and-enhancements-in-rocm-27)
|
||||
- [The latest ROCm platform - ROCm 2.7](#the-latest-rocm-platform-rocm-27)
|
||||
- [Hardware Support](#hardware-support)
|
||||
* [Supported GPUs](#supported-gpus)
|
||||
* [Supported CPUs](#supported-cpus)
|
||||
* [Not supported or limited support under ROCm](#not-supported-or-limited-support-under-rocm)
|
||||
- [Supported Operating Systems](#supported-operating-systems-new-operating-systems-available)
|
||||
* [ROCm support in upstream Linux kernels](#rocm-support-in-upstream-linux-kernels)
|
||||
- [Installing from AMD ROCm repositories](#installing-from-amd-rocm-repositories)
|
||||
* [ROCm Binary Package Structure](#rocm-binary-package-structure)
|
||||
* [Ubuntu Support - installing from a Debian repository](#ubuntu-support-installing-from-a-debian-repository)
|
||||
* [CentOS/RHEL 7 (7.6) Support](#centosrhel-7-76-support)
|
||||
- [Known issues / workarounds](#known-issues-workarounds)
|
||||
- [Closed source components](#closed-source-components)
|
||||
- [Getting ROCm source code](#getting-rocm-source-code)
|
||||
* [Installing repo](#installing-repo)
|
||||
* [Downloading the ROCm source code](#downloading-the-rocm-source-code)
|
||||
* [Building the ROCm source code](#building-the-rocm-source-code)
|
||||
- [Deprecation Notice](#deprecation-notice-hcc)
|
||||
- [Final notes](#final-notes)
|
||||
|
||||
### New features and enhancements in ROCm 2.7
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/AMD_ROCm_Release_Notes_v3.5.1.pdf
|
||||
|
||||
|
||||
#### [rocFFT] Real FFT Functional
|
||||
Improved real/complex 1D even-length transforms of unit stride. Performance improvements of up to 4.5x are observed. Large problem sizes should see approximately 2x.
|
||||
|
||||
#### rocRand Enhancements and Optimizations
|
||||
- Added support for new datatypes: uchar, ushort, half.
|
||||
- Improved performance on "Vega 7nm" chips, such as on the Radeon Instinct MI50
|
||||
- mtgp32 uniform double performance changes due generation algorithm standardization. Better quality random numbers now generated with 30% decrease in performance
|
||||
- Up to 5% performance improvements for other algorithms
|
||||
# AMD ROCm Release Notes v3.5.0
|
||||
This page describes the features, fixed issues, and information about downloading and installing the ROCm software.
|
||||
It also covers known issues and deprecated features in the ROCm v3.5.0 release.
|
||||
|
||||
#### RAS
|
||||
Added support for RAS on Radeon Instinct MI50, including:
|
||||
- Memory error detection
|
||||
- Memory error detection counter
|
||||
- [Supported Operating Systems and Documentation Updates](#Supported-Operating-Systems-and-Documentation-Updates)
|
||||
* [Supported Operating Systems](#Supported-Operating-Systems)
|
||||
* [Documentation Updates](#Documentation-Updates)
|
||||
|
||||
- [What\'s New in This Release](#Whats-New-in-This-Release)
|
||||
* [Upgrading to This Release](#Upgrading-to-This-Release)
|
||||
* [Heterogeneous-Compute Interface for Portability](#Heterogeneous-Compute-Interface-for-Portability)
|
||||
* [Radeon Open Compute Common Language Runtime](#Radeon-Open-Compute-Common-Language-Runtime)
|
||||
* [OpenCL Runtime](#OpenCL-Runtime)
|
||||
* [AMD ROCm GNU Debugger ROCgdb](#AMD-ROCm-GNU-Debugger-ROCgdb)
|
||||
* [AMD ROCm Debugger API Library](#AMD-ROCm-Debugger-API-Library)
|
||||
* [rocProfiler Dispatch Callbacks Start/Stop API](#rocProfiler-Dispatch-Callbacks-Start-Stop-API)
|
||||
* [ROCm Communications Collective Library](#ROCm-Communications-Collective-Library)
|
||||
* [NVIDIA Communications Collective Library Version Compatibility](#NVIDIA-Communications-Collective-Library-Version-Compatibility)
|
||||
* [MIOpen Optional Kernel Package Installation](#MIOpen-Optional-Kernel-Package-Installation)
|
||||
* [New SMI Event Interface and Library](#New-SMI-Event-Interface-and-Library)
|
||||
* [API for CPU Affinity](#API-for-CPU-Affinity)
|
||||
* [Radeon Performance Primitives Library](#Radeon-Performance-Primitives-Library)
|
||||
|
||||
|
||||
- [Fixed Issues](#Fixed-Issues)
|
||||
|
||||
#### ROCm-SMI enhancements
|
||||
Added ROCm-SMI CLI and LIB support for FW version, compute running processes, utilization rates, utilization counter, link error counter, and unique ID.
|
||||
- [Known Issues](#Known-Issues)
|
||||
|
||||
- [Deprecations](#Deprecations)
|
||||
* [Heterogeneous Compute Compiler](#Heterogeneous-Compute-Compiler)
|
||||
|
||||
- [Deploying ROCm](#Deploying-ROCm)
|
||||
|
||||
- [Hardware and Software Support](#Hardware-and-Software-Support)
|
||||
|
||||
- [Machine Learning and High Performance Computing Software Stack for AMD GPU](#Machine-Learning-and-High-Performance-Computing-Software-Stack-for-AMD-GPU)
|
||||
* [ROCm Binary Package Structure](#ROCm-Binary-Package-Structure)
|
||||
* [ROCm Platform Packages](#ROCm-Platform-Packages)
|
||||
|
||||
|
||||
|
||||
Features and enhancements introduced in previous versions of ROCm can be found in [version_history.md](version_history.md)
|
||||
# Supported Operating Systems and Documentation Updates
|
||||
|
||||
### The latest ROCm platform - ROCm 2.7
|
||||
## Supported Operating Systems
|
||||
|
||||
The latest supported version of the drivers, tools, libraries and source code for the ROCm platform have been released and are available from the following GitHub repositories:
|
||||
The AMD ROCm v3.5.x platform is designed to support the following operating systems:
|
||||
|
||||
* ROCm Core Components
|
||||
- [ROCk Kernel Driver](https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/tree/roc-2.7.0)
|
||||
- [ROCr Runtime](https://github.com/RadeonOpenCompute/ROCR-Runtime/tree/roc-2.7.0)
|
||||
- [ROCt Thunk Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/roc-2.7.0)
|
||||
* ROCm Support Software
|
||||
- [ROCm SMI](https://github.com/RadeonOpenCompute/ROC-smi/tree/roc-2.7.0)
|
||||
- [ROCm cmake](https://github.com/RadeonOpenCompute/rocm-cmake/tree/master-rocm-2.7)
|
||||
- [rocminfo](https://github.com/RadeonOpenCompute/rocminfo/tree/roc-2.7.0)
|
||||
- [ROCm Bandwidth Test](https://github.com/RadeonOpenCompute/rocm_bandwidth_test/tree/roc-2.7.0)
|
||||
* ROCm Development Tools
|
||||
- [HCC compiler](https://github.com/RadeonOpenCompute/hcc/tree/roc-hcc-2.7.0)
|
||||
- [HIP](https://github.com/ROCm-Developer-Tools/HIP/tree/roc-2.7.0)
|
||||
- [ROCm Device Libraries](https://github.com/RadeonOpenCompute/ROCm-Device-Libs/tree/roc-hcc-2.7.0)
|
||||
- ROCm OpenCL, which is created from the following components:
|
||||
- [ROCm OpenCL Runtime](http://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/tree/roc-2.7.0)
|
||||
- [ROCm OpenCL Driver](http://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/tree/roc-2.7.0)
|
||||
- The ROCm OpenCL compiler, which is created from the following components:
|
||||
- [ROCm LLVM OCL](http://github.com/RadeonOpenCompute/llvm/tree/roc-ocl-2.7.0)
|
||||
- [ROCm LLVM HCC](http://github.com/RadeonOpenCompute/llvm/tree/roc-hcc-2.7.0)
|
||||
- [ROCm Clang](http://github.com/RadeonOpenCompute/clang/tree/roc-2.7.0)
|
||||
- [ROCm lld OCL](http://github.com/RadeonOpenCompute/lld/tree/roc-ocl-2.7.0)
|
||||
- [ROCm lld HCC](http://github.com/RadeonOpenCompute/lld/tree/roc-hcc-2.7.0)
|
||||
- [ROCm Device Libraries](https://github.com/RadeonOpenCompute/ROCm-Device-Libs/tree/roc-ocl-2.7.0)
|
||||
- [ROCM Clang-OCL Kernel Compiler](https://github.com/RadeonOpenCompute/clang-ocl/tree/roc-2.7.0)
|
||||
- [Asynchronous Task and Memory Interface (ATMI)](https://github.com/RadeonOpenCompute/atmi/tree/rocm_2.7.0)
|
||||
- [ROCr Debug Agent](https://github.com/ROCm-Developer-Tools/rocr_debug_agent/tree/roc-2.7.0)
|
||||
- [ROCm Code Object Manager](https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/tree/roc-2.7.0)
|
||||
- [ROC Profiler](https://github.com/ROCm-Developer-Tools/rocprofiler/tree/roc-2.6.x)
|
||||
- [ROC Tracer](https://github.com/ROCmSoftwarePlatform/roctracer/tree/roc-2.7.x)
|
||||
- [Radeon Compute Profiler](https://github.com/GPUOpen-Tools/RCP/tree/3a49405)
|
||||
- Example Applications:
|
||||
- [HCC Examples](https://github.com/ROCm-Developer-Tools/HCC-Example-Application/tree/ffd65333)
|
||||
- [HIP Examples](https://github.com/ROCm-Developer-Tools/HIP-Examples/tree/roc-2.7.0)
|
||||
* ROCm Libraries
|
||||
- [rocBLAS](https://github.com/ROCmSoftwarePlatform/rocBLAS/tree/master-rocm-2.7)
|
||||
- [hipBLAS](https://github.com/ROCmSoftwarePlatform/hipBLAS/tree/master-rocm-2.7)
|
||||
- [rocFFT](https://github.com/ROCmSoftwarePlatform/rocFFT/tree/master-rocm-2.7)
|
||||
- [rocRAND](https://github.com/ROCmSoftwarePlatform/rocRAND/tree/master-rocm-2.7)
|
||||
- [rocSPARSE](https://github.com/ROCmSoftwarePlatform/rocSPARSE/tree/master-rocm-2.7)
|
||||
- [hipSPARSE](https://github.com/ROCmSoftwarePlatform/hipSPARSE/tree/master-rocm-2.7)
|
||||
- [rocALUTION](https://github.com/ROCmSoftwarePlatform/rocALUTION/tree/master-rocm-2.7)
|
||||
- [MIOpenGEMM](https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/tree/9547fb9e)
|
||||
- [MIOpen](https://github.com/ROCmSoftwarePlatform/MIOpen/tree/roc-2.7.0)
|
||||
- [rocThrust](https://github.com/ROCmSoftwarePlatform/rocThrust/tree/master-rocm-2.7)
|
||||
- [ROCm SMI Lib](https://github.com/RadeonOpenCompute/rocm_smi_lib/tree/roc-2.7.0)
|
||||
- [RCCL](https://github.com/ROCmSoftwarePlatform/rccl/tree/master-rocm-2.7)
|
||||
- [MIVisionX](https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/tree/1.3.0)
|
||||
- [hipCUB](https://github.com/ROCmSoftwarePlatform/hipCUB/tree/rocm-2.7)
|
||||
* Ubuntu 16.04.6(Kernel 4.15) and 18.04.4(Kernel 5.3)
|
||||
* CentOS 7.7 (Kernel 3.10-1062) and RHEL 7.8(Kernel 3.10.0-1127)(Using devtoolset-7 runtime support)
|
||||
* SLES 15 SP1
|
||||
* CentOS and RHEL 8.1(Kernel 4.18.0-147)
|
||||
|
||||
### Hardware Support
|
||||
|
||||
## Documentation Updates
|
||||
|
||||
### HIP-Clang Compile
|
||||
|
||||
* [HIP FAQ - Transition from HCC to HIP-Clang](https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-FAQ.html#hip-faq)
|
||||
* [HIP-Clang Porting Guide](https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-porting-guide.html#hip-porting-guide)
|
||||
* [HIP - Glossary of Terms](https://rocmdocs.amd.com/en/latest/ROCm_Glossary/ROCm-Glossary.html)
|
||||
|
||||
### AMD ROCDebugger (ROCgdb)
|
||||
|
||||
* [ROCgdb User Guide](https://github.com/RadeonOpenCompute/ROCm/blob/master/gdb.pdf)
|
||||
* [ROCgdbapi Guide](https://github.com/RadeonOpenCompute/ROCm/blob/master/amd-dbgapi.pdf)
|
||||
|
||||
### AMD ROCm Systems Management Interface
|
||||
|
||||
* [System Management Interface Event API Guide](https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_SMI_Manual.pdf)
|
||||
|
||||
### AMD ROCm Deep Learning
|
||||
|
||||
* [MIOpen API](https://github.com/ROCmSoftwarePlatform/MIOpen)
|
||||
|
||||
### AMD ROCm Glossary of Terms
|
||||
|
||||
* [Updated Glossary of Terms and Definitions](https://rocmdocs.amd.com/en/latest/ROCm_Glossary/ROCm-Glossary.html)
|
||||
|
||||
### General AMD ROCm Documentatin Links
|
||||
|
||||
Access the following links for more information on:
|
||||
|
||||
* For AMD ROCm documentation, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/
|
||||
|
||||
* For installation instructions on supported platforms, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
|
||||
|
||||
* For AMD ROCm binary structure, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#machine-learning-and-high-performance-computing-software-stack-for-amd-gpu-v3-3-0
|
||||
|
||||
* For AMD ROCm Release History, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#amd-rocm-version-history
|
||||
|
||||
|
||||
# What\'s New in This Release
|
||||
|
||||
## Upgrading to This Release
|
||||
|
||||
You must perform a fresh and a clean AMD ROCm install to successfully upgrade from v3.3 to v3.5. The following changes apply in this release:
|
||||
|
||||
* HCC is deprecated and replaced with the HIP-Clang compiler
|
||||
* HIP-HCC runtime is changed to Radeon Open Compute Common Language Runtime (HIP-ROCClr)
|
||||
* In the v3.5 release, the firmware is separated from the kernel package. The difference is as follows:
|
||||
* v3.5 release has two separate rock-dkms and rock-dkms-firmware packages
|
||||
* v3.3 release had the firmware as part of the rock-dkms package
|
||||
|
||||
|
||||
## rocProf Command Line Tool Python Requirement
|
||||
SQLite3 is a required Python module for the rocprof command-line tool. You can install the SQLite3 Python module using the pip utility and set env var ROCP_PYTHON_VERSION to the Python version, which includes the SQLite3 module.
|
||||
|
||||
|
||||
|
||||
## Heterogeneous-Compute Interface for Portability
|
||||
|
||||
In this release, the Heterogeneous Compute Compiler (HCC) compiler is deprecated and the HIP-Clang compiler is introduced for compiling Heterogeneous-Compute Interface for Portability (HIP) programs.
|
||||
|
||||
NOTE: The HCC environment variables will be gradually deprecated in subsequent releases.
|
||||
|
||||
The majority of the codebase for the HIP-Clang compiler has been upstreamed to the Clang trunk. The HIP-Clang implementation has undergone a strict code review by the LLVM/Clang community and comprehensive tests consisting of LLVM/Clang build bots. These reviews and tests resulted in higher productivity, code quality, and lower cost of maintenance.
|
||||
|
||||

|
||||
|
||||
For most HIP applications, the transition from HCC to HIP-Clang is transparent and efficient as the HIPCC and HIP cmake files automatically choose compilation options for HIP-Clang and hide the difference between the HCC and HIP-Clang code. However, minor changes may be required as HIP-Clang has a stricter syntax and semantic checks compared to HCC.
|
||||
|
||||
NOTE: Native HCC language features are no longer supported.
|
||||
|
||||
## Radeon Open Compute Common Language Runtime
|
||||
In this release, the HIP runtime API is implemented on top of Radeon Open Compute Common Language Runtime (ROCclr). ROCclr is an abstraction layer that provides the ability to interact with different runtime backends such as ROCr.
|
||||
|
||||
## OpenCL Runtime
|
||||
The following OpenCL runtime changes are made in this release:
|
||||
|
||||
* AMD ROCm OpenCL Runtime extends support to OpenCL2.2
|
||||
* The developer branch is changed from master to master-next
|
||||
|
||||
## AMD ROCm GNU Debugger (ROCgdb)
|
||||
The AMD ROCm Debugger (ROCgdb) is the AMD ROCm source-level debugger for Linux based on the GNU Debugger (GDB). It enables heterogeneous debugging on the AMD ROCm platform of an x86-based host architecture along with AMD GPU architectures and supported by the AMD Debugger API Library (ROCdbgapi).
|
||||
|
||||
The AMD ROCm Debugger is installed by the rocm-gdb package. The rocm-gdb package is part of the rocm-dev meta-package, which is in the rocm-dkms package.
|
||||
|
||||
The current AMD ROCm Debugger (ROCgdb) is an initial prototype that focuses on source line debugging. Note, symbolic variable debugging capabilities are not currently supported.
|
||||
|
||||
You can use the standard GDB commands for both CPU and GPU code debugging. For more information about ROCgdb, refer to the ROCgdb User Guide, which is installed at:
|
||||
|
||||
* /opt/rocm/share/info/gdb.info as a texinfo file
|
||||
* /opt/rocm/share/doc/gdb/gdb.pdf as a PDF file
|
||||
|
||||
The AMD ROCm Debugger User Guide is available as a PDF at:
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/gdb.pdf
|
||||
|
||||
For more information about GNU Debugger (GDB), refer to the GNU Debugger (GDB) web site at: http://www.gnu.org/software/gdb
|
||||
|
||||
|
||||
## AMD ROCm Debugger API Library
|
||||
|
||||
The AMD ROCm Debugger API Library (ROCdbgapi) implements an AMD GPU debugger application programming interface (API) that provides the support necessary for a client of the library to control the execution and inspect the state of AMD GPU devices.
|
||||
|
||||
The following AMD GPU architectures are supported:
|
||||
* Vega 10
|
||||
* Vega 7nm
|
||||
|
||||
The AMD ROCm Debugger API Library is installed by the rocm-dbgapi package. The rocm-gdb package is part of the rocm-dev meta-package, which is in the rocm-dkms package.
|
||||
The AMD ROCm Debugger API Specification is available as a PDF at:
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/amd-dbgapi.pdf
|
||||
|
||||
## rocProfiler Dispatch Callbacks Start Stop API
|
||||
|
||||
In this release, a new rocprofiler start/stop API is added to enable/disable GPU kernel HSA dispatch callbacks. The callback can be registered with the 'rocprofiler_set_hsa_callbacks' API. The API helps you eliminate some profiling performance impact by invoking the profiler only for kernel dispatches of interest. This optimization will result in significant performance gains.
|
||||
|
||||
The API provides the following functions:
|
||||
* *hsa_status_t rocprofiler_start_queue_callbacks();* is used to start profiling
|
||||
* *hsa_status_t rocprofiler_stop_queue_callbacks();* is used to stop profiling.
|
||||
|
||||
For more information on kernel dispatches, see the HSA Platform System Architecture Specification guide at http://www.hsafoundation.com/standards/.
|
||||
|
||||
## ROCm Communications Collective Library
|
||||
The ROCm Communications Collective Library (RCCL) consists of the following enhancements:
|
||||
* Re-enable target 0x803
|
||||
* Build time improvements for the HIP-Clang compiler
|
||||
|
||||
### NVIDIA Communications Collective Library Version Compatibility
|
||||
AMD RCCL is now compatible with NVIDIA Communications Collective Library (NCCL) v2.6.4 and provides the following features:
|
||||
* Network interface improvements with API v3
|
||||
* Network topology detection
|
||||
* Improved CPU type detection
|
||||
* Infiniband adaptive routing support
|
||||
|
||||
## MIOpen Optional Kernel Package Installation
|
||||
MIOpen provides an optional pre-compiled kernel package to reduce startup latency.
|
||||
|
||||
NOTE: The installation of this package is optional. MIOpen will continue to function as expected even if you choose to not install the pre-compiled kernel package. This is because MIOpen compiles the kernels on the target machine once the kernel is run. However, the compilation step may significantly increase the startup time for different operations.
|
||||
|
||||
To install the kernel package for your GPU architecture, use the following command:
|
||||
|
||||
*apt-get install miopen-kernels-<arch>-<num cu>*
|
||||
|
||||
* <arch> is the GPU architecture. For example, gfx900, gfx906
|
||||
* <num cu> is the number of CUs available in the GPU. For example, 56 or 64
|
||||
|
||||
|
||||
## New SMI Event Interface and Library
|
||||
|
||||
A Systems Management Interface (SMI) event interface is added to the kernel and ROCm SMI lib for system administrators to get notified when specific events occur. On the kernel side, AMDKFD_IOC_SMI_EVENTS input/output control is enhanced to allow notifications propagation to user mode through the event channel.
|
||||
|
||||
On the ROCm SMI lib side, APIs are added to set an event mask and receive event notifications with a timeout option. Further, ROCm SMI API details can be found in the PDF generated by Doxygen from source or by referring to the rocm_smi.h header file (see the rsmi_event_notification_* functions).
|
||||
|
||||
For the more details about ROCm SMI API, see
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_SMI_Manual.pdf
|
||||
|
||||
## API for CPU Affinity
|
||||
A new API is introduced for aiding applications to select the appropriate memory node for a given accelerator(GPU).
|
||||
|
||||
The API for CPU affinity has the following signature:
|
||||
|
||||
*rsmi_status_t rsmi_topo_numa_affinity_get(uint32_t dv_ind, uint32_t *numa_node);*
|
||||
|
||||
This API takes as input, device index (dv_ind), and returns the NUMA node (CPU affinity), stored at the location pointed by numa_node pointer, associated with the device.
|
||||
|
||||
Non-Uniform Memory Access (NUMA) is a computer memory design used in multiprocessing, where the memory access time depends on the memory location relative to the processor.
|
||||
|
||||
## Radeon Performance Primitives Library
|
||||
The new Radeon Performance Primitives (RPP) library is a comprehensive high-performance computer vision library for AMD (CPU and GPU) with the HIP and OpenCL backend. The target operating system is Linux.
|
||||
|
||||

|
||||
|
||||
For more information about prerequisites and library functions, see
|
||||
|
||||
https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/tree/master/docs
|
||||
|
||||
# Fixed Issues
|
||||
|
||||
## Device printf Support for HIP-Clang
|
||||
HIP now supports the use of printf in the device code. The parameters and return value for the device-side printf follow the POSIX.1 standard, with the exception that the "%n" specifier is not supported. A call to printf blocks the calling wavefront until the operation is completely processed by the host.
|
||||
|
||||
No host-side runtime calls by the application are needed to cause the output to appear. There is also no limit on the number of device-side calls to printf or the amount of data that is printed.
|
||||
|
||||
For more details, refer the HIP Programming Guide at:
|
||||
https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-GUIDE.html#hip-guide
|
||||
|
||||
## Assertions in HIP Device Code
|
||||
Previously, a failing assertion caused early termination of kernels and the application to exit with a line number, file, and failing condition printed to the screen.
|
||||
This issue is now fixed and the assert() and abort() functions are implemented for HIP device code.
|
||||
NOTE: There may be a performance impact in the use of device assertions in its current form.
|
||||
|
||||
You may choose to disable the assertion in the production code. For example, to disable an assertion of:
|
||||
|
||||
*assert(foo != 0);*
|
||||
|
||||
you may comment it out as:
|
||||
|
||||
*//assert(foo != 0);*
|
||||
|
||||
NOTE: Assertions are currently enabled by default.
|
||||
|
||||
# Known Issues
|
||||
The following are the known issues in the v3.5 release.
|
||||
|
||||
## HIPify-Clang Installation Failure on CentOS/RHEL
|
||||
|
||||
HIPify-Clang fails to install on CentOS/RHEL with the following error:
|
||||
|
||||
*file from install of hipify-clang conflicts with file from package hip-base*
|
||||
|
||||
**Workaround**: This is a known issue and the following workaround is recommended for a successful installation of HIPify-Clang on CentOS/RHEL:
|
||||
|
||||
* Download HIPify-Clang RPM. For example, *hipify-clang-11.0.0.x86_64.rpm*
|
||||
* Perform a force install using the following command:
|
||||
|
||||
*sudo rpm -ivh --force hipify-clang-11.0.0.x86_64.rpm*
|
||||
|
||||
|
||||
## Failure to Process Breakpoint before Queue Destroy Results in ROCm Debugger Error
|
||||
When ROCgdb is in non-stop mode with an application that rapidly creates and destroys queues, a breakpoint may be reported that is not processed by the debugger before the queue is deleted. In some cases, this can result in the following error that prevents further debugging:
|
||||
|
||||
*[amd-dbgapi]: fatal error: kfd_queue_id 2 should have been reported as a NEW_QUEUE before next_pending_event failed (rc=-2)*
|
||||
|
||||
There are no known workarounds at this time.
|
||||
|
||||
## Failure to Process Breakpoint before Queue Destroy Results in ROCm Debugger API Error
|
||||
|
||||
When the ROCdbgapi library is used with an application that rapidly creates and destroys queues, a breakpoint may be reported that is not processed by the client before the queue is deleted. In some cases, this can result in a fatal error and the following error log message is produced:
|
||||
|
||||
*[amd-dbgapi]: fatal error: kfd_queue_id 2 should have been reported as a NEW_QUEUE before next_pending_event failed (rc=-2)*
|
||||
|
||||
There are no known workarounds at this time.
|
||||
|
||||
## rocThrust and hipCUB Unit Test Failures
|
||||
|
||||
The following unit test failures have been observed due to known issues in the ROCclr runtime.
|
||||
|
||||
rocThrust
|
||||
* sort
|
||||
* sort_by_key
|
||||
|
||||
hipCUB
|
||||
* BlockDiscontinuity
|
||||
* BlockExchange
|
||||
* BlockHistogram
|
||||
* BlockRadixSort
|
||||
* BlockReduce
|
||||
* BlockScan
|
||||
|
||||
There are no known workarounds in the current release.
|
||||
|
||||
|
||||
## Multiple GPU Configuration Freezes with Imagenet Training and tf_cnn_benchmark on TensorFlow
|
||||
|
||||
A random freeze has been observed with Imagenet training and tf_cnn_benchmark on TensorFlow when multiple GPU configurations are involved.
|
||||
|
||||
There is no freeze observed with single GPUs.
|
||||
|
||||
There are no known workarounds at this time.
|
||||
|
||||
## Issue with Running AMD ROCm v3.3 User Mode with AMD ROCm v3.5 DKMS Kernel Module
|
||||
|
||||
Running AMD ROCm v3.3 in the user mode with the AMD ROCm v3.5 DKMS kernel module will cause the following features to be broken:
|
||||
|
||||
* IPC import/export, cross memory copy (used by UCX and MPI)
|
||||
* Experimental GDB support
|
||||
|
||||
**Resolution**: Install ROCm v3.5 Thunk (*Hsakmt*) when using ROCm 3.5 Kernel Fusion Driver (KFD).
|
||||
|
||||
|
||||
## SQLite3 Library Not Found in ROCProfiler
|
||||
|
||||
The ROCProfiler tool appears to be broken when the SQLite3 library is not found.
|
||||
|
||||
**Resolution**: Install the SQLite3 Python module separately and ensure the environment variable is set to ROCP_PYTHON_VERSION to confirm the Python version, which includes the SQLite3 module.
|
||||
|
||||
|
||||
|
||||
# Deprecations
|
||||
Install ROCm v3.5 Thunk (Hsakmt) when using ROCm 3.5 Kernel Fusion Driver (KFD). You can access the Thunk package at:
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface
|
||||
## Heterogeneous Compute Compiler
|
||||
In this release, the Heterogeneous Compute Compiler (HCC) compiler is deprecated and the HIP-Clang compiler is introduced for compiling Heterogeneous-Compute Interface for Portability (HIP) programs.
|
||||
|
||||
For more information, see HIP documentation at:
|
||||
https://rocmdocs.amd.com/en/latest/Programming_Guides/Programming-Guides.html
|
||||
|
||||
|
||||
## Deploying ROCm
|
||||
AMD hosts both Debian and RPM repositories for the ROCm v3.5.x packages.
|
||||
|
||||
For more information on ROCM installation on all platforms, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
|
||||
|
||||
## Hardware and Software Support
|
||||
ROCm is focused on using AMD GPUs to accelerate computational tasks such as machine learning, engineering workloads, and scientific computing.
|
||||
In order to focus our development efforts on these domains of interest, ROCm supports a targeted set of hardware configurations which are detailed further in this section.
|
||||
|
||||
@@ -160,7 +421,7 @@ GFX9 GPUs can now be run on CPUs without PCIe atomics and on older PCIe generati
|
||||
This is not supported on GPUs below GFX9, e.g. GFX8 cards in the Fiji and Polaris families.
|
||||
|
||||
If you are using any PCIe switches in your system, please note that PCIe Atomics are only supported on some switches, such as Broadcom PLX.
|
||||
When you install your GPUs, make sure you install them in a PCIe 3.0 x16, x8, x4, or x1 slot attached either directly to the CPU's Root I/O controller or via a PCIe switch directly attached to the CPU's Root I/O controller.
|
||||
When you install your GPUs, make sure you install them in a PCIe 3.1.0 x16, x8, x4, or x1 slot attached either directly to the CPU's Root I/O controller or via a PCIe switch directly attached to the CPU's Root I/O controller.
|
||||
|
||||
In our experience, many issues stem from trying to use consumer motherboards which provide physical x16 connectors that are electrically connected as e.g. PCIe 2.0 x4, PCIe slots connected via the Southbridge PCIe I/O controller, or PCIe slots connected through a PCIe switch that does
|
||||
not support PCIe atomics.
|
||||
@@ -177,8 +438,8 @@ from the list provided above for compatibility purposes.
|
||||
#### Not supported or limited support under ROCm
|
||||
##### Limited support
|
||||
|
||||
* ROCm 2.7.x should support PCIe 2.0 enabled CPUs such as the AMD Opteron, Phenom, Phenom II, Athlon, Athlon X2, Athlon II and older Intel Xeon and Intel Core Architecture and Pentium CPUs. However, we have done very limited testing on these configurations, since our test farm has been catering to CPUs listed above. This is where we need community support. _If you find problems on such setups, please report these issues_.
|
||||
* Thunderbolt 1, 2, and 3 enabled breakout boxes should now be able to work with ROCm. Thunderbolt 1 and 2 are PCIe 2.0 based, and thus are only supported with GPUs that do not require PCIe 3.0 atomics (e.g. Vega 10). However, we have done no testing on this configuration and would need community support due to limited access to this type of equipment.
|
||||
* ROCm 2.9.x should support PCIe 2.0 enabled CPUs such as the AMD Opteron, Phenom, Phenom II, Athlon, Athlon X2, Athlon II and older Intel Xeon and Intel Core Architecture and Pentium CPUs. However, we have done very limited testing on these configurations, since our test farm has been catering to CPUs listed above. This is where we need community support. _If you find problems on such setups, please report these issues_.
|
||||
* Thunderbolt 1, 2, and 3 enabled breakout boxes should now be able to work with ROCm. Thunderbolt 1 and 2 are PCIe 2.0 based, and thus are only supported with GPUs that do not require PCIe 3.1.0 atomics (e.g. Vega 10). However, we have done no testing on this configuration and would need community support due to limited access to this type of equipment.
|
||||
* AMD "Carrizo" and "Bristol Ridge" APUs are enabled to run OpenCL, but do not yet support HCC, HIP, or our libraries built on top of these compilers and runtimes.
|
||||
* As of ROCm 2.1, "Carrizo" and "Bristol Ridge" require the use of upstream kernel drivers.
|
||||
* In addition, various "Carrizo" and "Bristol Ridge" platforms may not work due to OEM and ODM choices when it comes to key configurations parameters such as inclusion of the required CRAT tables and IOMMU configuration parameters in the system BIOS.
|
||||
@@ -190,19 +451,11 @@ from the list provided above for compatibility purposes.
|
||||
|
||||
##### Not supported
|
||||
|
||||
* "Tonga", "Iceland", "Vega M", and "Vega 12" GPUs are not supported in ROCm 2.7.x
|
||||
* "Tonga", "Iceland", "Vega M", and "Vega 12" GPUs are not supported in ROCm 2.9.x
|
||||
* We do not support GFX8-class GPUs (Fiji, Polaris, etc.) on CPUs that do not have PCIe 3.0 with PCIe atomics.
|
||||
* As such, we do not support AMD Carrizo and Kaveri APUs as hosts for such GPUs.
|
||||
* Thunderbolt 1 and 2 enabled GPUs are not supported by GFX8 GPUs on ROCm. Thunderbolt 1 & 2 are based on PCIe 2.0.
|
||||
|
||||
### Supported Operating Systems - New operating systems available
|
||||
|
||||
The ROCm 2.7.x platform supports the following operating systems:
|
||||
|
||||
* Ubuntu 16.04.5(Kernel 4.15) and 18.04.2(Kernel 4.18)
|
||||
* CentOS 7.6 (Using devtoolset-7 runtime support)
|
||||
* RHEL 7.6 (Using devtoolset-7 runtime support)
|
||||
|
||||
#### ROCm support in upstream Linux kernels
|
||||
|
||||
As of ROCm 1.9.0, the ROCm user-level software is compatible with the AMD drivers in certain upstream Linux kernels.
|
||||
@@ -223,489 +476,15 @@ For users that have the option of using either AMD's or the upstreamed driver, t
|
||||
| | Supported GPUs enabled regardless of kernel version | |
|
||||
| | Includes the latest GPU firmware | |
|
||||
| Cons | May not work on all Linux distributions or versions | Features and hardware support varies depending on kernel version |
|
||||
| | Not currently supported on kernels newer than 4.18 | Limits GPU's usage of system memory to 3/8 of system memory |
|
||||
| | Not currently supported on kernels newer than 5.4 | Limits GPU's usage of system memory to 3/8 of system memory (before 5.6). For 5.6 and beyond, both DKMS and upstream kernels allow use of 15/16 of system memory. |
|
||||
| | | IPC and RDMA capabilities are not yet enabled |
|
||||
| | | Not tested by AMD to the same level as `rock-dkms` package |
|
||||
| | | Does not include most up-to-date firmware |
|
||||
|
||||
|
||||
### Installing from AMD ROCm repositories
|
||||
|
||||
AMD hosts both [Debian](http://repo.radeon.com/rocm/apt/debian/) and [RPM](http://repo.radeon.com/rocm/yum/rpm/) repositories for the ROCm 2.7.x packages at this time.
|
||||
## Machine Learning and High Performance Computing Software Stack for AMD GPU
|
||||
|
||||
The packages in the Debian repository have been signed to ensure package integrity.
|
||||
For an updated version of the software stack for AMD GPU, see
|
||||
|
||||
#### ROCm Binary Package Structure
|
||||
|
||||
ROCm is a collection of software ranging from drivers and runtimes to libraries and developer tools.
|
||||
In AMD's package distributions, these software projects are provided as a separate packages.
|
||||
This allows users to install only the packages they need, if they do not wish to install all of ROCm.
|
||||
These packages will install most of the ROCm software into `/opt/rocm/` by default.
|
||||
|
||||
The packages for each of the major ROCm components are:
|
||||
|
||||
* ROCm Core Components
|
||||
- ROCk Kernel Driver: `rock-dkms`
|
||||
- ROCr Runtime: `hsa-rocr-dev`, `hsa-ext-rocr-dev`
|
||||
- ROCt Thunk Interface: `hsakmt-roct`, `hsakmt-roct-dev`
|
||||
* ROCm Support Software
|
||||
- ROCm SMI: `rocm-smi`
|
||||
- ROCm cmake: `rocm-cmake`
|
||||
- rocminfo: `rocminfo`
|
||||
- ROCm Bandwidth Test: `rocm_bandwidth_test`
|
||||
* ROCm Development Tools
|
||||
- HCC compiler: `hcc`
|
||||
- HIP: `hip_base`, `hip_doc`, `hip_hcc`, `hip_samples`
|
||||
- ROCm Device Libraries: `rocm-device-libs`
|
||||
- ROCm OpenCL: `rocm-opencl`, `rocm-opencl-devel` (on RHEL/CentOS), `rocm-opencl-dev` (on Ubuntu)
|
||||
- ROCM Clang-OCL Kernel Compiler: `rocm-clang-ocl`
|
||||
- Asynchronous Task and Memory Interface (ATMI): `atmi`
|
||||
- ROCr Debug Agent: `rocr_debug_agent`
|
||||
- ROCm Code Object Manager: `comgr`
|
||||
- ROC Profiler: `rocprofiler-dev`
|
||||
- ROC Tracer: `roctracer-dev`
|
||||
- Radeon Compute Profiler: `rocm-profiler`
|
||||
* ROCm Libraries
|
||||
- rocALUTION: `rocalution`
|
||||
- rocBLAS: `rocblas`
|
||||
- hipBLAS: `hipblas`
|
||||
- hipCUB: `hipCUB`
|
||||
- rocFFT: `rocfft`
|
||||
- rocRAND: `rocrand`
|
||||
- rocSPARSE: `rocsparse`
|
||||
- hipSPARSE: `hipsparse`
|
||||
- ROCm SMI Lib: `rocm_smi_lib64`
|
||||
- rocThrust: `rocThrust`
|
||||
- MIOpen: `MIOpen-HIP` (for the HIP version), `MIOpen-OpenCL` (for the OpenCL version)
|
||||
- MIOpenGEMM: `miopengemm`
|
||||
- MIVisionX: `mivisionx`
|
||||
- RCCL: `rccl`
|
||||
|
||||
To make it easier to install ROCm, the AMD binary repositories provide a number of meta-packages that will automatically install multiple other packages.
|
||||
For example, `rocm-dkms` is the primary meta-package that is used to install most of the base technology needed for ROCm to operate.
|
||||
It will install the `rock-dkms` kernel driver, and another meta-package (`rocm-dev`) which installs most of the user-land ROCm core components, support software, and development tools.
|
||||
|
||||
The `rocm-utils` meta-package will install useful utilities that, while not required for ROCm to operate, may still be beneficial to have.
|
||||
Finally, the `rocm-libs` meta-package will install some (but not all) of the libraries that are part of ROCm.
|
||||
|
||||
The chain of software installed by these meta-packages is illustrated below
|
||||
|
||||
```
|
||||
rocm-dkms
|
||||
|--rock-dkms
|
||||
\--rocm-dev
|
||||
|--hsa-rocr-dev
|
||||
|--hsa-ext-rocr-dev
|
||||
|--hsakmt-roct
|
||||
|--hsakmt-roct-dev
|
||||
|--rocm-cmake
|
||||
|--rocm-device-libs
|
||||
|--hcc
|
||||
|--hip_base
|
||||
|--hip_doc
|
||||
|--hip_hcc
|
||||
|--hip_samples
|
||||
|--rocm-smi
|
||||
|--hsa-amd-aqlprofile
|
||||
|--comgr
|
||||
|--rocr_debug_agent
|
||||
\--rocm-utils
|
||||
|--rocminfo
|
||||
\--rocm-clang-ocl # This will cause OpenCL to be installed
|
||||
|
||||
rocm-libs
|
||||
|--rocalution
|
||||
|--hipblas
|
||||
|--rocblas
|
||||
|--rocfft
|
||||
|--rocrand
|
||||
|--hipsparse
|
||||
\--rocsparse
|
||||
```
|
||||
|
||||
These meta-packages are not required but may be useful to make it easier to install ROCm on most systems.
|
||||
Some users may want to skip certain packages. For instance, a user that wants to use the upstream kernel drivers (rather than those supplied by AMD) may want to skip the `rocm-dkms` and `rock-dkms` packages, and instead directly install `rocm-dev`.
|
||||
|
||||
Similarly, a user that only wants to install OpenCL support instead of HCC and HIP may want to skip the `rocm-dkms` and `rocm-dev` packages.
|
||||
Instead, they could directly install `rock-dkms`, `rocm-opencl`, and `rocm-opencl-dev` and their dependencies.
|
||||
|
||||
#### Ubuntu Support - installing from a Debian repository
|
||||
|
||||
The following directions show how to install ROCm on supported Debian-based systems such as Ubuntu 18.04.
|
||||
These directions may not work as written on unsupported Debian-based distributions.
|
||||
For example, newer versions of Ubuntu may not be compatible with the `rock-dkms` kernel driver.
|
||||
As such, users may want to skip the `rocm-dkms` and `rock-dkms` packages, as described [above](#rocm-binary-package-structure), and instead [use the upstream kernel driver](#using-debian-based-rocm-with-upstream-kernel-drivers).
|
||||
|
||||
##### First make sure your system is up to date
|
||||
|
||||
```shell
|
||||
sudo apt update
|
||||
sudo apt dist-upgrade
|
||||
sudo apt install libnuma-dev
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
##### Add the ROCm apt repository
|
||||
|
||||
For Debian-based systems like Ubuntu, configure the Debian ROCm repository as
|
||||
follows:
|
||||
|
||||
```shell
|
||||
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
|
||||
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
|
||||
```
|
||||
The gpg key might change, so it may need to be updated when installing a new release.
|
||||
If the key signature verification is failed while update, please re-add the key from
|
||||
ROCm apt repository. The current rocm.gpg.key is not available in a standard key ring
|
||||
distribution, but has the following sha1sum hash:
|
||||
|
||||
`e85a40d1a43453fe37d63aa6899bc96e08f2817a rocm.gpg.key`
|
||||
|
||||
##### Install
|
||||
|
||||
Next, update the apt repository list and install the `rocm-dkms` meta-package:
|
||||
|
||||
```shell
|
||||
sudo apt update
|
||||
sudo apt install rocm-dkms
|
||||
```
|
||||
|
||||
##### Next set your permissions
|
||||
|
||||
Users will need to be in the `video` group in order to have access to the GPU.
|
||||
As such, you should ensure that your user account is a member of the `video` group prior to using ROCm.
|
||||
You can find which groups you are a member of with the following command:
|
||||
|
||||
```shell
|
||||
groups
|
||||
```
|
||||
|
||||
To add yourself to the video group you will need the sudo password and can use the following command:
|
||||
|
||||
```shell
|
||||
sudo usermod -a -G video $LOGNAME
|
||||
```
|
||||
|
||||
You may want to ensure that any future users you add to your system are put into the "video" group by default. To do that, you can run the following commands:
|
||||
|
||||
```shell
|
||||
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
|
||||
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
|
||||
```
|
||||
|
||||
Once complete, reboot your system.
|
||||
|
||||
##### Test basic ROCm installation
|
||||
|
||||
After rebooting the system run the following commands to verify that the ROCm installation was successful. If you see your GPUs listed by both of these commands, you should be ready to go!
|
||||
|
||||
```shell
|
||||
/opt/rocm/bin/rocminfo
|
||||
/opt/rocm/opencl/bin/x86_64/clinfo
|
||||
```
|
||||
|
||||
Note that, to make running ROCm programs easier, you may wish to put the ROCm binaries in your PATH.
|
||||
|
||||
```shell
|
||||
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
|
||||
```
|
||||
|
||||
If you have an [install issue](https://rocm.github.io/install_issues.html) please read this FAQ.
|
||||
|
||||
##### Performing an OpenCL-only Installation of ROCm
|
||||
|
||||
Some users may want to install a subset of the full ROCm installation.
|
||||
In particular, if you are trying to install on a system with a limited amount of storage space, or which will only run a small collection of known applications, you may want to install only the packages that are required to run OpenCL applications.
|
||||
To do that, you can run the following installation command **instead** of the command to install `rocm-dkms`.
|
||||
|
||||
```shell
|
||||
sudo apt-get install dkms rock-dkms rocm-opencl-dev
|
||||
```
|
||||
|
||||
##### How to uninstall from Ubuntu 16.04 or Ubuntu 18.04
|
||||
|
||||
To uninstall the ROCm packages installed in the above directions, you can execute;
|
||||
|
||||
```shell
|
||||
sudo apt autoremove rocm-dkms rocm-dev rocm-utils
|
||||
```
|
||||
|
||||
##### Installing development packages for cross compilation
|
||||
|
||||
It is often useful to develop and test on different systems.
|
||||
For example, some development or build systems may not have an AMD GPU installed.
|
||||
In this scenario, you may prefer to avoid installing the ROCK kernel driver to your development system.
|
||||
|
||||
In this case, install the development subset of packages:
|
||||
|
||||
```shell
|
||||
sudo apt update
|
||||
sudo apt install rocm-dev
|
||||
```
|
||||
>**Note:** To execute ROCm enabled apps you will require a system with the full
|
||||
>ROCm driver stack installed
|
||||
|
||||
##### Using Debian-based ROCm with upstream kernel drivers
|
||||
|
||||
As described in [the above section about upstream Linux kernel support](#rocm-support-in-upstream-linux-kernels), users may want to try installing ROCm user-level software without installing AMD's custom ROCK kernel driver.
|
||||
Users who do want to use upstream kernels can run the following commands instead of installing `rocm-dkms`
|
||||
|
||||
```shell
|
||||
sudo apt update
|
||||
sudo apt install rocm-dev
|
||||
echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules
|
||||
```
|
||||
|
||||
#### CentOS/RHEL 7 (7.6) Support
|
||||
|
||||
The following directions show how to install ROCm on supported RPM-based systems such as CentOS 7.6.
|
||||
These directions may not work as written on unsupported RPM-based distributions.
|
||||
For example, Fedora may work but may not be compatible with the `rock-dkms` kernel driver.
|
||||
As such, users may want to skip the `rocm-dkms` and `rock-dkms` packages, as described [above](#rocm-binary-package-structure), and instead [use the upstream kernel driver](#using-rpm-based-rocm-with-upstream-kernel-drivers).
|
||||
|
||||
Support for CentOS/RHEL 7 was added in ROCm 1.8, but ROCm requires a special
|
||||
runtime environment provided by the RHEL Software Collections and additional
|
||||
dkms support packages to properly install and run.
|
||||
|
||||
##### Preparing RHEL 7 (7.6) for installation
|
||||
|
||||
RHEL is a subscription-based operating system, and you must enable several external
|
||||
repositories to enable installation of the devtoolset-7 environment and the DKMS
|
||||
support files. These steps are not required for CentOS.
|
||||
|
||||
First, the subscription for RHEL must be enabled and attached to a pool id. Please
|
||||
see Obtaining an RHEL image and license page for instructions on registering your
|
||||
system with the RHEL subscription server and attaching to a pool id.
|
||||
|
||||
|
||||
Second, enable the following repositories:
|
||||
|
||||
```shell
|
||||
sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms
|
||||
sudo subscription-manager repos --enable rhel-7-server-optional-rpms
|
||||
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
|
||||
```
|
||||
|
||||
Third, enable additional repositories by downloading and installing the epel-release-latest-7 repository RPM:
|
||||
|
||||
```shell
|
||||
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
```
|
||||
|
||||
##### Install and setup Devtoolset-7
|
||||
|
||||
To setup the Devtoolset-7 environment, follow the instructions on this page:
|
||||
|
||||
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/
|
||||
|
||||
Note that devtoolset-7 is a Software Collections package, and it is not supported by AMD.
|
||||
|
||||
##### Prepare CentOS/RHEL (7.6) for DKMS Install
|
||||
|
||||
Installing kernel drivers on CentOS/RHEL 7.6 requires dkms tool being installed:
|
||||
|
||||
```shell
|
||||
sudo yum install -y epel-release
|
||||
sudo yum install -y dkms kernel-headers-`uname -r` kernel-devel-`uname -r`
|
||||
```
|
||||
|
||||
##### Installing ROCm on the system
|
||||
|
||||
It is recommended to [remove previous ROCm installations](https://github.com/RadeonOpenCompute/ROCm#how-to-uninstall-rocm-from-centosrhel-76) before installing the latest version to ensure a smooth installation.
|
||||
|
||||
At this point ROCm can be installed on the target system. Create a /etc/yum.repos.d/rocm.repo file with the following contents:
|
||||
|
||||
```shell
|
||||
[ROCm]
|
||||
name=ROCm
|
||||
baseurl=http://repo.radeon.com/rocm/yum/rpm
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
```
|
||||
|
||||
The repo's URL should point to the location of the repositories repodata database. Install ROCm components using these commands:
|
||||
|
||||
```shell
|
||||
sudo yum install rocm-dkms
|
||||
```
|
||||
|
||||
The rock-dkms component should be installed and the `/dev/kfd` device should be available on reboot.
|
||||
|
||||
##### Set up permissions
|
||||
|
||||
Ensure that your user account is a member of the "video" or "wheel" group prior to using the ROCm driver.
|
||||
You can find which groups you are a member of with the following command:
|
||||
|
||||
```shell
|
||||
groups
|
||||
```
|
||||
|
||||
To add yourself to the video (or wheel) group you will need the sudo password and can use the
|
||||
following command:
|
||||
|
||||
```shell
|
||||
sudo usermod -a -G video $LOGNAME
|
||||
```
|
||||
|
||||
You may want to ensure that any future users you add to your system are put into the "video" group by default. To do that, you can run the following commands:
|
||||
|
||||
```shell
|
||||
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
|
||||
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
|
||||
```
|
||||
|
||||
Current release supports CentOS/RHEL 7.6. If users want to update the OS version, they should completely remove ROCm packages before updating to the latest version of the OS, to avoid DKMS related issues.
|
||||
|
||||
Once complete, reboot your system.
|
||||
|
||||
###### Test basic ROCm installation
|
||||
|
||||
After rebooting the system run the following commands to verify that the ROCm installation was successful. If you see your GPUs listed by both of these commands, you should be ready to go!
|
||||
|
||||
```shell
|
||||
/opt/rocm/bin/rocminfo
|
||||
/opt/rocm/opencl/bin/x86_64/clinfo
|
||||
```
|
||||
|
||||
Note that, to make running ROCm programs easier, you may wish to put the ROCm binaries in your PATH.
|
||||
|
||||
```shell
|
||||
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
|
||||
```
|
||||
|
||||
If you have an [install issue](https://rocm.github.io/install_issues.html) please read this FAQ.
|
||||
|
||||
###### Performing an OpenCL-only Installation of ROCm
|
||||
|
||||
Some users may want to install a subset of the full ROCm installation.
|
||||
In particular, if you are trying to install on a system with a limited amount of storage space, or which will only run a small collection of known applications, you may want to install only the packages that are required to run OpenCL applications.
|
||||
To do that, you can run the following installation command **instead** of the command to install `rocm-dkms`.
|
||||
|
||||
```shell
|
||||
sudo yum install rock-dkms rocm-opencl-devel
|
||||
```
|
||||
|
||||
##### Compiling applications using HCC, HIP, and other ROCm software
|
||||
|
||||
To compile applications or samples, please use gcc-7.2 provided by the devtoolset-7 environment.
|
||||
To do this, compile all applications after running this command:
|
||||
|
||||
```shell
|
||||
scl enable devtoolset-7 bash
|
||||
```
|
||||
##### How to uninstall ROCm from CentOS/RHEL 7.6
|
||||
|
||||
To uninstall the ROCm packages installed by the above directions, you can execute:
|
||||
|
||||
```shell
|
||||
sudo yum autoremove rocm-dkms rock-dkms
|
||||
```
|
||||
|
||||
##### Installing development packages for cross compilation
|
||||
|
||||
It is often useful to develop and test on different systems.
|
||||
For example, some development or build systems may not have an AMD GPU installed.
|
||||
In this scenario, you may prefer to avoid installing the ROCK kernel driver to your development system.
|
||||
|
||||
In this case, install the development subset of packages:
|
||||
|
||||
```shell
|
||||
sudo yum install rocm-dev
|
||||
```
|
||||
>**Note:** To execute ROCm enabled apps you will require a system with the full
|
||||
>ROCm driver stack installed
|
||||
|
||||
##### Using ROCm with upstream kernel drivers
|
||||
|
||||
As described in [the above section about upstream Linux kernel support](#rocm-support-in-upstream-linux-kernels), use
|
||||
rs may want to try installing ROCm user-level software without installing AMD's custom ROCK kernel driver.
|
||||
Users who do want to use upstream kernels can run the following commands instead of installing `rocm-dkms`
|
||||
|
||||
```shell
|
||||
sudo yum install rocm-dev
|
||||
echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules
|
||||
```
|
||||
|
||||
### Known issues / workarounds
|
||||
|
||||
#### rocprofiler --hiptrace and --hsatrace fails to load roctracer library
|
||||
In ROCm 2.7, rocprofiler --hiptrace and --hsatrace fails to load roctracer library.
|
||||
The workaround is to create two links under '/opt/rocm':
|
||||
$ ln -s /opt/rocm/roctracer/lib/libroctracer64.so /opt/rocm/rocprofiler/lib/libroctracer64.so
|
||||
$ ln -s /opt/rocm/roctracer/tool/libtracer_tool.so /opt/rocm/rocprofiler/tool/libtracer_tool.so
|
||||
|
||||
|
||||
#### rocFFT unit tests - memory access fault
|
||||
Known failure with some power-of-2 size transforms in 1D real FFTs. This issue has been fixed in master branch of public rocFFT repo: https://github.com/ROCmSoftwarePlatform/rocFFT
|
||||
|
||||
### Closed source components
|
||||
|
||||
The ROCm platform relies on a few closed source components to provide functionality
|
||||
such as HSA image support. These components are only available through the ROCm
|
||||
repositories, and they will either be deprecated or become open source components in the
|
||||
future. These components are made available in the following packages:
|
||||
|
||||
* hsa-ext-rocr-dev
|
||||
|
||||
### Getting ROCm source code
|
||||
|
||||
ROCm is built from open source software.
|
||||
As such, it is possible to make modifications to the various components of ROCm by downloading the source code, making modifications to it, and rebuilding the components.
|
||||
The source code for ROCm components can be cloned from each of the GitHub repositories using git.
|
||||
In order to make it easier to download the correct versions of each of these tools, this ROCm repository contains a [repo](https://gerrit.googlesource.com/git-repo/) manifest file, [default.xml](default.xml).
|
||||
Interested users can thus use this manifest file to download the source code for all of the ROCm software.
|
||||
|
||||
#### Installing repo
|
||||
|
||||
Google's repo tool allows you to manage multiple git repositories simultaneously.
|
||||
You can install it by executing the following example commands:
|
||||
|
||||
```shell
|
||||
mkdir -p ~/bin/
|
||||
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
||||
chmod a+x ~/bin/repo
|
||||
```
|
||||
Note that you can choose a different folder to install repo into if you desire. `~/bin/` is simply used as an example.
|
||||
|
||||
#### Downloading the ROCm source code
|
||||
|
||||
The following example shows how to use the `repo` binary downloaded above to download all of the ROCm source code.
|
||||
If you chose a directory other than `~/bin/` to install `repo`, you should use that directory below.
|
||||
|
||||
```shell
|
||||
mkdir -p ~/ROCm/
|
||||
cd ~/ROCm/
|
||||
~/bin/repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-2.7.0
|
||||
repo sync
|
||||
```
|
||||
|
||||
This will cause repo to download all of the open source code associated with this ROCm release.
|
||||
You may want to ensure that you have ssh-keys configured on your machine for your GitHub ID.
|
||||
|
||||
#### Building the ROCm source code
|
||||
|
||||
Each ROCm component repository contains directions for building that component.
|
||||
As such, you should go to the repository you are interested in building to find how to build it.
|
||||
|
||||
That said, AMD also offers [a project](https://github.com/RadeonOpenCompute/Experimental_ROC) that demonstrates how to download, build, package, and install ROCm software on various distributions.
|
||||
The scripts here may be useful for anyone looking to build ROCm components.
|
||||
|
||||
#### Deprecation Notice
|
||||
|
||||
### HCC
|
||||
AMD is deprecating HCC to put more focus on HIP development and on
|
||||
other languages supporting heterogeneous compute. We will no longer
|
||||
develop any new feature in HCC. We will stop maintaining HCC after
|
||||
its final release, which is planned for the end of 2019. If your
|
||||
application was developed with the hc C++ API, we would encourage you
|
||||
to transition it to other languages supported by AMD, such as HIP or
|
||||
OpenCL. HIP and hc languages share the same compiler technology, so
|
||||
many hc kernel language features (including inline assembly) are also
|
||||
available through the HIP compilation path.
|
||||
|
||||
### hipThrust
|
||||
hip-thrust has been removed in ROCm2.7.
|
||||
|
||||
|
||||
### Final notes
|
||||
* OpenCL Runtime and Compiler will be submitted to the Khronos Group for conformance testing prior to its final release.
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#machine-learning-and-high-performance-computing-software-stack-for-amd-gpu-v3-5-0
|
||||
|
||||
BIN
ROCm_SMI_Manual.pdf
Normal file
BIN
ROCm_SMI_Manual.pdf
Normal file
Binary file not shown.
BIN
amd-dbgapi.pdf
Normal file
BIN
amd-dbgapi.pdf
Normal file
Binary file not shown.
98
default.xml
98
default.xml
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
|
||||
<remote name="roc-github"
|
||||
fetch="http://github.com/RadeonOpenCompute/" />
|
||||
<remote name="rocm-devtools"
|
||||
@@ -11,64 +10,71 @@
|
||||
fetch="https://github.com/GPUOpen-ProfessionalCompute-Libraries/" />
|
||||
<remote name="gpuopen-tools"
|
||||
fetch="https://github.com/GPUOpen-Tools/" />
|
||||
|
||||
<default revision="refs/tags/roc-2.7.0"
|
||||
<remote name="KhronosGroup"
|
||||
fetch="https://github.com/KhronosGroup/" />
|
||||
<default revision="refs/tags/rocm-3.5.0"
|
||||
remote="roc-github"
|
||||
sync-c="true"
|
||||
sync-j="4" />
|
||||
|
||||
<project name="ROCK-Kernel-Driver" />
|
||||
<!--list of projects for ROCM-->
|
||||
<project name="ROCK-Kernel-Driver" revision="refs/tags/rocm-3.5.1" />
|
||||
<project name="ROCT-Thunk-Interface" />
|
||||
<project name="ROCR-Runtime" />
|
||||
<project name="ROC-smi" />
|
||||
<project name="rocm-cmake" revision="master-rocm-2.7" />
|
||||
<project name="rocm_smi_lib" remote="roc-github" />
|
||||
<project name="rocm-cmake" />
|
||||
<project name="rocminfo" />
|
||||
<project name="rocprofiler" remote="rocm-devtools" revision="refs/tags/roc-2.6.0"/>
|
||||
<project name="roctracer" remote="rocm-devtools" revision="roc-2.7.x"/>
|
||||
<!-- If you want to get the full OpenCL runtime, there is a separate repo
|
||||
manifest that is more authoritative than the copy in this file. It can
|
||||
be found at the following URL:
|
||||
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/blob/roc-2.0.0/opencl.xml -->
|
||||
<remote name="KhronosGroup" fetch="https://github.com/KhronosGroup/" />
|
||||
<project name="ROCm-OpenCL-Runtime" />
|
||||
<project path="ROCm-OpenCL-Runtime/compiler/driver" name="ROCm-OpenCL-Driver"/>
|
||||
<project path="ROCm-OpenCL-Runtime/compiler/llvm" name="llvm" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project path="ROCm-OpenCL-Runtime/compiler/llvm/tools/clang" name="clang" />
|
||||
<project path="ROCm-OpenCL-Runtime/compiler/llvm/tools/lld" name="lld" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project path="ROCm-OpenCL-Runtime/library/amdgcn" name="ROCm-Device-Libs" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project path="ROCm-OpenCL-Runtime/api/opencl/khronos/icd" name="OpenCL-ICD-Loader" remote="KhronosGroup" revision="261c1288aadd9dcc4637aca08332f603e6c13715" />
|
||||
|
||||
<project name="rocprofiler" remote="rocm-devtools" />
|
||||
<project name="roctracer" remote="rocm-devtools" />
|
||||
<project name="ROCm-OpenCL-Runtime" revision="refs/tags/roc-3.5.0" />
|
||||
<project path="ROCm-OpenCL-Runtime/api/opencl/khronos/icd" name="OpenCL-ICD-Loader" remote="KhronosGroup" revision="6c03f8b58fafd9dd693eaac826749a5cfad515f8" />
|
||||
<project name="clang-ocl" />
|
||||
<!-- HCC needs to be recursively synced to get it submodules -->
|
||||
<project name="hcc" sync-s="true" revision="refs/tags/roc-hcc-2.7.0" />
|
||||
<!--HIP Projects-->
|
||||
<project name="HCC-Example-Application" remote="rocm-devtools" revision="ffd6533305e79eed667badd3c4cdb7879a1281b8" />
|
||||
<project name="HIP" remote="rocm-devtools" />
|
||||
<project name="HIP" remote="rocm-devtools" revision="refs/tags/rocm-3.5.1" />
|
||||
<project name="HIP-Examples" remote="rocm-devtools" />
|
||||
<project name="ROCclr" remote="rocm-devtools" revision="refs/tags/roc-3.5.0" />
|
||||
<project name="HIPIFY" remote="rocm-devtools" />
|
||||
<!-- The following projects are all associated with the AMDGPU LLVM compiler -->
|
||||
<project name="llvm" path="llvm_amd-common" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project name="lld" path="llvm_amd-common/lld" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project name="clang" path="llvm_amd-common/clang" />
|
||||
<project name="ROCm-Device-Libs" revision="refs/tags/roc-ocl-2.7.0" />
|
||||
<project name="atmi" revision="refs/tags/rocm_2.7.0" />
|
||||
<project name="llvm-project" path="llvm_amd-stg-open" />
|
||||
<project name="ROCm-Device-Libs" />
|
||||
<project name="atmi" />
|
||||
<project name="ROCm-CompilerSupport" />
|
||||
<project name="rocr_debug_agent" remote="rocm-devtools" />
|
||||
<project name="rocr_debug_agent" remote="rocm-devtools" revision="refs/tags/roc-3.5.0" />
|
||||
<project name="rocm_bandwidth_test" />
|
||||
<project name="RCP" remote="gpuopen-tools" revision="3a49405a1500067c49d181844ec90aea606055bb" />
|
||||
|
||||
<!-- gdb projects -->
|
||||
<project name="ROCgdb" remote="rocm-devtools" />
|
||||
<project name="ROCdbgapi" remote="rocm-devtools" />
|
||||
<!-- ROCm Libraries -->
|
||||
<project name="rocBLAS" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="hipBLAS" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="rocFFT" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="rocRAND" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="rocSPARSE" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="hipSPARSE" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="rocALUTION" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="MIOpenGEMM" remote="rocm-swplat" revision="9547fb9e8499a5a9f16da83b1e6b749de82dd9fb" />
|
||||
<project name="MIOpen" remote="rocm-swplat" revision="refs/tags/roc-2.7.0" />
|
||||
<project name="rocm_smi_lib" />
|
||||
<project name="rccl" remote="rocm-swplat" revision="refs/tags/2.7.0" />
|
||||
<project name="MIVisionX" remote="gpuopen-libs" revision="refs/tags/1.3.0" />
|
||||
<project name="rocThrust" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
<project name="hipCUB" remote="rocm-swplat" revision="refs/tags/rocm-2.7" />
|
||||
|
||||
<project name="rocBLAS" remote="rocm-swplat" />
|
||||
<project name="hipBLAS" remote="rocm-swplat" />
|
||||
<project name="rocFFT" remote="rocm-swplat" />
|
||||
<project name="rocRAND" remote="rocm-swplat" />
|
||||
<project name="rocSPARSE" remote="rocm-swplat" />
|
||||
<project name="rocSOLVER" remote="rocm-swplat" />
|
||||
<project name="hipSPARSE" remote="rocm-swplat" />
|
||||
<project name="rocALUTION" remote="rocm-swplat" />
|
||||
<project name="MIOpenGEMM" remote="rocm-swplat" revision="refs/tags/1.1.6" />
|
||||
<project name="MIOpen" remote="rocm-swplat" />
|
||||
<project name="rccl" remote="rocm-swplat" />
|
||||
<project name="MIVisionX" remote="gpuopen-libs" revision="refs/tags/1.7" />
|
||||
<project name="rocThrust" remote="rocm-swplat" />
|
||||
<project name="hipCUB" remote="rocm-swplat" />
|
||||
<project name="rocPRIM" remote="rocm-swplat" revision="refs/tags/rocm-3.5.1" />
|
||||
<project name="AMDMIGraphX" remote="rocm-swplat" />
|
||||
<project name="ROCmValidationSuite" remote="rocm-devtools" />
|
||||
<!-- Projects for AOMP -->
|
||||
<project name="ROCT-Thunk-Interface" path="aomp/roct-thunk-interface" remote="roc-github" />
|
||||
<project name="ROCR-Runtime" path="aomp/rocr-runtime" remote="roc-github" />
|
||||
<project name="ROCm-Device-Libs" path="aomp/rocm-device-libs" remote="roc-github" />
|
||||
<project name="ROCm-CompilerSupport" path="aomp/rocm-compilersupport" remote="roc-github" />
|
||||
<project name="rocminfo" path="aomp/rocminfo" remote="roc-github" />
|
||||
<project name="HIP" path="aomp/hip-on-vdi" remote="rocm-devtools" revision="ffcbd7e63395f8a4d3ccb7e4d5133f8d2dde793e" />
|
||||
<project name="aomp" path="aomp/aomp" remote="rocm-devtools" />
|
||||
<project name="aomp-extras" path="aomp/aomp-extras" remote="rocm-devtools" />
|
||||
<project name="flang" path="aomp/flang" remote="rocm-devtools" />
|
||||
<project name="amd-llvm-project" path="aomp/amd-llvm-project" remote="rocm-devtools" />
|
||||
<project name="ROCclr" path="aomp/vdi" remote="rocm-devtools" revision="72ce2c9783d514fc7da94db40f9f420320df098d" />
|
||||
<project name="ROCm-OpenCL-Runtime" path="aomp/opencl-on-vdi" remote="roc-github" revision="12fb33212c99cb4b596b0f34691e7d044218e3e9" />
|
||||
</manifest>
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
## ROCm Version History
|
||||
This file contains archived version history information for the [ROCm project](https://github.com/RadeonOpenCompute/ROCm)
|
||||
|
||||
### Current ROCm Version: 2.7
|
||||
### Current ROCm Version: 3.3
|
||||
- [New features and enhancements in ROCm v3.1](#new-features-and-enhancements-in-rocm-v31)
|
||||
- [New features and enhancements in ROCm v3.0](#new-features-and-enhancements-in-rocm-v30)
|
||||
- [New features and enhancements in ROCm v2.10](#new-features-and-enhancements-in-rocm-v210)
|
||||
- [New features and enhancements in ROCm 2.9](#new-features-and-enhancements-in-rocm-29)
|
||||
- [New features and enhancements in ROCm 2.8](#new-features-and-enhancements-in-rocm-28)
|
||||
- [New features and enhancements in ROCm 2.7.2](#new-features-and-enhancements-in-rocm-272)
|
||||
- [New features and enhancements in ROCm 2.7](#new-features-and-enhancements-in-rocm-27)
|
||||
- [New features and enhancements in ROCm 2.6](#new-features-and-enhancements-in-rocm-26)
|
||||
- [New features and enhancements in ROCm 2.5](#new-features-and-enhancements-in-rocm-25)
|
||||
- [New features and enhancements in ROCm 2.4](#new-features-and-enhancements-in-rocm-24)
|
||||
@@ -19,6 +26,151 @@ This file contains archived version history information for the [ROCm project](h
|
||||
- [New Features as of ROCm 1.5](#new-features-as-of-rocm-15)
|
||||
|
||||
|
||||
## New features and enhancements in ROCm v3.2
|
||||
The AMD ROCm v3.2 release was not productized.
|
||||
|
||||
## New features and enhancements in ROCm v3.1
|
||||
### Change in ROCm Installation Directory Structure
|
||||
|
||||
A fresh installation of the ROCm toolkit installs the packages in the /opt/rocm-<version> folder. Previously, ROCm toolkit packages were installed in the /opt/rocm folder.
|
||||
|
||||
### Reliability, Accessibility, and Serviceability Support for Vega 7nm
|
||||
|
||||
The Reliability, Accessibility, and Serviceability (RAS) support for Vega7nm is now available.
|
||||
|
||||
### SLURM Support for AMD GPU
|
||||
|
||||
SLURM (Simple Linux Utility for Resource Management) is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters.
|
||||
|
||||
|
||||
## New features and enhancements in ROCm v3.0
|
||||
### Support for CentOS RHEL v7.7 <a id="centos-anchor"></a>
|
||||
Support is extended for CentOS/RHEL v7.7 in the ROCm v3.0 release. For more information about the CentOS/RHEL v7.7 release, see:
|
||||
|
||||
[CentOS/RHEL](https://centos.org/forums/viewtopic.php?t=71657)
|
||||
|
||||
|
||||
### Initial distribution of AOMP 0.7-5 in ROCm v3.0 <a id="aomp-anchor"></a>
|
||||
The code base for this release of AOMP is the Clang/LLVM 9.0 sources as of October 8th, 2019. The LLVM-project branch used to build this release is AOMP-191008. It is now locked. With this release, an artifact tarball of the entire source tree is created. This tree includes a Makefile in the root directory used to build AOMP from the release tarball. You can use Spack to build AOMP from this source tarball or build manually without Spack.
|
||||
|
||||
For more information about AOMP 0.7-5, see: [AOMP](https://github.com/ROCm-Developer-Tools/aomp/tree/roc-3.0.0)
|
||||
|
||||
|
||||
### Fast Fourier Transform Updates
|
||||
The Fast Fourier Transform (FFT) is an efficient algorithm for computing the Discrete Fourier Transform. Fast Fourier transforms are used in signal processing, image processing, and many other areas. The following real FFT performance change is made in the ROCm v3.0 release:
|
||||
|
||||
• Implement efficient real/complex 2D transforms for even lengths.
|
||||
|
||||
Other improvements:
|
||||
|
||||
• More 2D test coverage sizes.
|
||||
|
||||
• Fix buffer allocation error for large 1D transforms.
|
||||
|
||||
• C++ compatibility improvements.
|
||||
|
||||
### MemCopy Enhancement for rocProf
|
||||
In the v3.0 release, the rocProf tool is enhanced with an additional capability to dump asynchronous GPU memcopy information into a .csv file. You can use the '-hsa-trace' option to create the results_mcopy.csv file.
|
||||
Future enhancements will include column labels.
|
||||
|
||||
|
||||
### New features and enhancements in ROCm v2.10
|
||||
#### rocBLAS Support for Complex GEMM
|
||||
The rocBLAS library is a gpu-accelerated implementation of the standard Basic Linear Algebra Subroutines (BLAS). rocBLAS is designed to enable you to develop algorithms, including high performance computing, image analysis, and machine learning.
|
||||
|
||||
In the AMD ROCm release v2.10, support is extended to the General Matrix Multiply (GEMM) routine for multiple small matrices processed simultaneously for rocBLAS in AMD Radeon Instinct MI50. Both single and double precision, CGEMM and ZGEMM, are now supported in rocBLAS.
|
||||
|
||||
#### Support for SLES 15 SP1
|
||||
In the AMD ROCm v2.10 release, support is added for SUSE Linux® Enterprise Server (SLES) 15 SP1. SLES is a modular operating system for both multimodal and traditional IT.
|
||||
|
||||
#### Code Marker Support for rocProfiler and rocTracer Libraries
|
||||
Code markers provide the external correlation ID for the calling thread. This function indicates that the calling thread is entering and leaving an external API region.
|
||||
|
||||
### New features and enhancements in ROCm 2.9
|
||||
|
||||
#### Initial release for Radeon Augmentation Library(RALI)
|
||||
The AMD Radeon Augmentation Library (RALI) is designed to efficiently decode and process images from a variety of storage formats and modify them through a processing graph programmable by the user. RALI currently provides C API.
|
||||
|
||||
#### Quantization in MIGraphX v0.4
|
||||
MIGraphX 0.4 introduces support for fp16 and int8 quantization. For additional details, as well as other new MIGraphX features, see [MIGraphX documentation](https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/wiki/Getting-started:-using-the-new-features-of-MIGraphX-0.4).
|
||||
|
||||
#### rocSparse csrgemm
|
||||
csrgemm enables the user to perform matrix-matrix multiplication with two sparse matrices in CSR format.
|
||||
|
||||
#### Singularity Support
|
||||
ROCm 2.9 adds support for Singularity container version 2.5.2.
|
||||
|
||||
#### Initial release of rocTX
|
||||
ROCm 2.9 introduces rocTX, which provides a C API for code markup for performance profiling. This initial release of rocTX supports annotation of code ranges and ASCII markers. For an example, see this [code](https://github.com/ROCm-Developer-Tools/roctracer/blob/amd-master/test/MatrixTranspose_test/MatrixTranspose.cpp).
|
||||
|
||||
#### Added support for Ubuntu 18.04.3
|
||||
Ubuntu 18.04.3 is now supported in ROCm 2.9.
|
||||
|
||||
|
||||
|
||||
### New features and enhancements in ROCm 2.8
|
||||
|
||||
#### Support for NCCL2.4.8 API
|
||||
Implements ncclCommAbort() and ncclCommGetAsyncError() to match the NCCL 2.4.x API
|
||||
|
||||
### New features and enhancements in ROCm 2.7.2
|
||||
|
||||
This release is a hotfix for ROCm release 2.7.
|
||||
|
||||
#### Issues fixed in ROCm 2.7.2
|
||||
|
||||
##### A defect in upgrades from older ROCm releases has been fixed.
|
||||
|
||||
##### rocprofiler --hiptrace and --hsatrace fails to load roctracer library
|
||||
In ROCm 2.7.2, rocprofiler --hiptrace and --hsatrace fails to load roctracer library defect has been fixed.
|
||||
To generate traces, please provide directory path also using the parameter: -d <$directoryPath> for example:
|
||||
```shell
|
||||
/opt/rocm/bin/rocprof --hsa-trace -d $PWD/traces /opt/rocm/hip/samples/0_Intro/bit_extract/bit_extract
|
||||
```
|
||||
All traces and results will be saved under $PWD/traces path
|
||||
|
||||
#### Upgrading from ROCm 2.7 to 2.7.2
|
||||
|
||||
To upgrade, please remove 2.7 completely as specified [for ubuntu](#how-to-uninstall-from-ubuntu-1604-or-Ubuntu-1804) or [for centos/rhel](#how-to-uninstall-rocm-from-centosrhel-76), and install 2.7.2 as per instructions [install instructions](#installing-from-amd-rocm-repositories)
|
||||
|
||||
#### Other notes
|
||||
|
||||
To use rocprofiler features, the following steps need to be completed before using rocprofiler:
|
||||
|
||||
##### Step-1: Install roctracer
|
||||
|
||||
###### Ubuntu 16.04 or Ubuntu 18.04:
|
||||
|
||||
```shell
|
||||
sudo apt install roctracer-dev
|
||||
```
|
||||
|
||||
###### CentOS/RHEL 7.6:
|
||||
|
||||
```shell
|
||||
sudo yum install roctracer-dev
|
||||
```
|
||||
##### Step-2: Add /opt/rocm/roctracer/lib to LD_LIBRARY_PATH
|
||||
|
||||
### New features and enhancements in ROCm 2.7
|
||||
|
||||
#### [rocFFT] Real FFT Functional
|
||||
Improved real/complex 1D even-length transforms of unit stride. Performance improvements of up to 4.5x are observed. Large problem sizes should see approximately 2x.
|
||||
|
||||
#### rocRand Enhancements and Optimizations
|
||||
- Added support for new datatypes: uchar, ushort, half.
|
||||
- Improved performance on "Vega 7nm" chips, such as on the Radeon Instinct MI50
|
||||
- mtgp32 uniform double performance changes due generation algorithm standardization. Better quality random numbers now generated with 30% decrease in performance
|
||||
- Up to 5% performance improvements for other algorithms
|
||||
|
||||
#### RAS
|
||||
Added support for RAS on Radeon Instinct MI50, including:
|
||||
- Memory error detection
|
||||
- Memory error detection counter
|
||||
|
||||
#### ROCm-SMI enhancements
|
||||
Added ROCm-SMI CLI and LIB support for FW version, compute running processes, utilization rates, utilization counter, link error counter, and unique ID.
|
||||
|
||||
### New features and enhancements in ROCm 2.6
|
||||
|
||||
#### ROCmInfo enhancements
|
||||
|
||||
Reference in New Issue
Block a user