mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 22:58:17 -05:00
Compare commits
429 Commits
roc-1.7.0
...
roc-3.10.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68c5c198df | ||
|
|
8d5a160f0a | ||
|
|
f61c2ad155 | ||
|
|
3e2e30cc9a | ||
|
|
a1f3b4e6b8 | ||
|
|
7a3a012e6a | ||
|
|
5b6ab31db3 | ||
|
|
acabe2c532 | ||
|
|
39d8bcd504 | ||
|
|
af6d1e9b26 | ||
|
|
1fa1d4a935 | ||
|
|
03d93c1948 | ||
|
|
93984b0956 | ||
|
|
6ccb1cfc0f | ||
|
|
f054f82173 | ||
|
|
bb6756b58d | ||
|
|
d957b8a17c | ||
|
|
37ece61861 | ||
|
|
434023f31b | ||
|
|
a555260687 | ||
|
|
bf89c6bbf1 | ||
|
|
bd4b772255 | ||
|
|
e99027c39c | ||
|
|
93c69afb5b | ||
|
|
bc2ce5c35b | ||
|
|
bf633aec6b | ||
|
|
8608a9a1c9 | ||
|
|
76afb05b6c | ||
|
|
8bc67a21ea | ||
|
|
1ce148edb1 | ||
|
|
cc6147c25b | ||
|
|
aadd9e68e1 | ||
|
|
dce5aee2dc | ||
|
|
0bcae510a3 | ||
|
|
86a09b146b | ||
|
|
506cdcf6db | ||
|
|
a919ba64c9 | ||
|
|
fae25ccf9b | ||
|
|
d1f9aa98a3 | ||
|
|
42fa0e0765 | ||
|
|
e89903ed3a | ||
|
|
ba2e1f0109 | ||
|
|
a1830b5330 | ||
|
|
0c596d155a | ||
|
|
75c0d668d9 | ||
|
|
49bd50c858 | ||
|
|
a54214d05d | ||
|
|
2524166765 | ||
|
|
abc65687d4 | ||
|
|
0fddb14b8f | ||
|
|
3909efb389 | ||
|
|
e0361edcf8 | ||
|
|
67f7748999 | ||
|
|
3b9619ac45 | ||
|
|
3b421076e0 | ||
|
|
3dfc8c3954 | ||
|
|
1d4cac07ae | ||
|
|
de1efc447a | ||
|
|
f0bcd280f1 | ||
|
|
cf36f54099 | ||
|
|
d304044378 | ||
|
|
4464dc282e | ||
|
|
9f7604f51b | ||
|
|
f213e32845 | ||
|
|
efad9684ee | ||
|
|
6d99ada0ae | ||
|
|
fb77891fae | ||
|
|
b0b858d81c | ||
|
|
7c97c6b102 | ||
|
|
dee1c4a0e7 | ||
|
|
29060c09ec | ||
|
|
d7eb52fced | ||
|
|
13e2fb06b9 | ||
|
|
e3017948a9 | ||
|
|
09643c4a90 | ||
|
|
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 | ||
|
|
e5fab6d043 | ||
|
|
efbfe487e2 | ||
|
|
48f8ce93b8 | ||
|
|
9623efac90 | ||
|
|
258740b489 | ||
|
|
b178fa0666 | ||
|
|
1f0e2c2d7a | ||
|
|
ae0503cad3 | ||
|
|
c1ecf02269 | ||
|
|
8f26cf300e | ||
|
|
725f57b531 | ||
|
|
70f9bf263e | ||
|
|
614f5a6d5f | ||
|
|
445ac506cb | ||
|
|
360fa794e1 | ||
|
|
b58b254b29 | ||
|
|
128e3af2bd | ||
|
|
71993cf7c6 | ||
|
|
a9bb319d96 | ||
|
|
6d5e854277 | ||
|
|
b1b081fa8f | ||
|
|
5a0d73e84f | ||
|
|
1ea6f22864 | ||
|
|
f26b2d6af3 | ||
|
|
ce5e75fb6a | ||
|
|
a84e61094a | ||
|
|
1fc51c91ab | ||
|
|
0ad89931cc | ||
|
|
f73d5b629c | ||
|
|
a13f8c94a4 | ||
|
|
38c8ed8136 | ||
|
|
beebbf0c1d | ||
|
|
7063676c93 | ||
|
|
ce3a851464 | ||
|
|
edcdd2a947 | ||
|
|
444ec79edb | ||
|
|
e7fd4042f4 | ||
|
|
48f21b22e6 | ||
|
|
a8989c7ed0 | ||
|
|
159a69a8ab | ||
|
|
7cf79c8dc4 | ||
|
|
a3340581a7 | ||
|
|
d07fdb05d7 | ||
|
|
c86686a2e7 | ||
|
|
04e2bba9ed | ||
|
|
83f9bd1272 | ||
|
|
4a5104c882 | ||
|
|
40b4be64e6 | ||
|
|
bd790cb4d2 | ||
|
|
35a5c80b55 | ||
|
|
3d7812a48c | ||
|
|
23beff10b8 | ||
|
|
ddc0e1f2b4 | ||
|
|
dd00206633 | ||
|
|
575c4c9a63 | ||
|
|
e4efd1c9f6 | ||
|
|
0b95356d45 | ||
|
|
d4ccc7729e | ||
|
|
239b9ee77e | ||
|
|
c6763c13c4 | ||
|
|
dd33dc7742 | ||
|
|
030455ef47 | ||
|
|
f02621bc8a | ||
|
|
2a4c16ee51 | ||
|
|
4dec756b2d | ||
|
|
77cc24a773 | ||
|
|
7bfed202a0 | ||
|
|
980738d46e | ||
|
|
d7c97882e1 | ||
|
|
c4eb6cd4be | ||
|
|
3e4bda88e7 | ||
|
|
8512273309 | ||
|
|
a1bb81003b | ||
|
|
fbcc9809de | ||
|
|
b834187cae | ||
|
|
260cb81efd | ||
|
|
62c11b68f7 | ||
|
|
c7ea2df946 | ||
|
|
3b442534f8 | ||
|
|
84a097d55d | ||
|
|
7cc5548ea3 | ||
|
|
cf7c039199 | ||
|
|
648af6f3f8 | ||
|
|
4f8d605b12 | ||
|
|
783eec4643 | ||
|
|
dfdb135954 | ||
|
|
2b19ff91a6 | ||
|
|
ac4bd217aa | ||
|
|
7c07ce6e89 | ||
|
|
17dce4c250 | ||
|
|
5a113b7799 | ||
|
|
36d82f83f1 | ||
|
|
2d09dfa9ca | ||
|
|
ae280c5745 | ||
|
|
af228d3b64 | ||
|
|
620a4af0b3 | ||
|
|
549042b40e | ||
|
|
a6e1b016fa | ||
|
|
ca40c6ff09 | ||
|
|
9959f915b3 | ||
|
|
94ef8cd402 | ||
|
|
f8af328270 | ||
|
|
d8e77a4181 | ||
|
|
8b91b9c980 | ||
|
|
378cf1eb7d | ||
|
|
73bb1da071 | ||
|
|
cd4ea291e2 | ||
|
|
eeae755296 | ||
|
|
9f8d733da1 | ||
|
|
389750df8c | ||
|
|
93301e03e2 | ||
|
|
7f15331a67 | ||
|
|
3f4e60c4d0 | ||
|
|
f558960c7e | ||
|
|
c1e71f0dcc | ||
|
|
cf622281f4 | ||
|
|
08257cbca7 | ||
|
|
88d4832e84 | ||
|
|
4a77b8ec63 | ||
|
|
47cb66122f | ||
|
|
8c1d89e69f | ||
|
|
1a315e093f | ||
|
|
42e58efc65 | ||
|
|
04628c0e85 | ||
|
|
883df8b9f5 | ||
|
|
d46888fe1e | ||
|
|
5dd391eb49 | ||
|
|
04534f7b52 | ||
|
|
3e82c69b04 | ||
|
|
39c0ecbbda |
BIN
AMD_ROCm_DataCenter_Tool_User_Guide.pdf
Normal file
BIN
AMD_ROCm_DataCenter_Tool_User_Guide.pdf
Normal file
Binary file not shown.
BIN
AMD_ROCm_Release_Notes_v3.10.pdf
Normal file
BIN
AMD_ROCm_Release_Notes_v3.10.pdf
Normal file
Binary file not shown.
803
README.md
803
README.md
@@ -1,285 +1,518 @@
|
||||
## 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.
|
||||
|
||||
On April 25th, 2016, we delivered ROCm 1.0 built around three pillars:
|
||||
|
||||
1) Open Heterogeneous Computing Platform (Linux Driver and Runtime Stack),
|
||||
optimized for HPC & Ultra-scale class computing;
|
||||
|
||||
2) Heterogeneous C and C++ Single Source Compiler, to approach computation
|
||||
holistically, on a system level, rather than as a discrete GPU artifact;
|
||||
|
||||
3) HIP, acknowledging the need for freedom of choice when it comes to platforms
|
||||
and APIs for GPU computing.
|
||||
|
||||
Using our knowledge of the HSA Standards and, more importantly, the HSA
|
||||
Runtime, we have been able to successfully extended support to the dGPU with
|
||||
critical features for accelerating NUMA computation. As a result, the ROCK
|
||||
driver is composed of several components based on our efforts to develop the
|
||||
Heterogeneous System Architecture for APUs, including the new AMDGPU driver,
|
||||
the Kernel Fusion Driver (KFD), the HSA+ Runtime and an LLVM based compilation
|
||||
stack which provides support for key languages. This support starts with AMD’s
|
||||
Fiji family of dGPUs, and has expanded to include the Hawaii dGPU family in ROCm
|
||||
1.2. ROCm 1.3 further extends support to include the Polaris family of ASICs.
|
||||
|
||||
#### Supported CPUs
|
||||
The ROCm Platform leverages PCIe Atomics (Fetch ADD, Compare and SWAP,
|
||||
Unconditional SWAP, AtomicsOpCompletion).
|
||||
[PCIe atomics](https://github.com/RadeonOpenCompute/RadeonOpenCompute.github.io/blob/master/ROCmPCIeFeatures.md)
|
||||
are only supported on PCIe Gen3 Enabled CPUs and PCIe Gen3 Switches like
|
||||
Broadcom PLX. When you install your GPUs make sure you install them in a fully
|
||||
PCIe Gen3 x16 or x8 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 Gen2 x4. This typically occurs when connecting via the
|
||||
Southbridge PCIe I/O controller. If you motherboard is part of this category,
|
||||
please do not use this connector for your GPUs, if you intend to exploit ROCm.
|
||||
|
||||
|
||||
Our GFX8 GPU's (Fiji & Polaris Family) and GFX9 (Vega) use PCIe Gen 3 and PCIe Atomics.
|
||||
|
||||
Current CPUs which support PCIe Gen3 + PCIe Atomics are:
|
||||
* Intel Xeon E5 v3 or newer CPUs;
|
||||
* Intel Xeon E3 v3 or newer CPUs;
|
||||
* Intel Core i7 v4, Core i5 v4, Core i3 v4 or newer CPUs (i.e. Haswell family or newer).
|
||||
* AMD Ryzen CPUs;
|
||||
|
||||
Upcoming CPUs which will support PCIe Gen3 + PCIe Atomics are:
|
||||
* AMD Naples Server CPUs;
|
||||
* Cavium Thunder X Server Processor.
|
||||
|
||||
Experimental support for our GFX7 GPUs Radeon R9 290, R9 390, AMD FirePro S9150, S9170 note they do not support or
|
||||
take advantage of PCIe Atomics. However, we still recommend that you use a CPU
|
||||
from the list provided above.
|
||||
|
||||
#### Not supported or very limited support under ROCm
|
||||
* We do not support ROCm with PCIe Gen 2 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.
|
||||
* We also do not support AMD Carrizo and Kaveri APU as host for compliant dGPU
|
||||
attachments.
|
||||
* Thunderbolt 1 and 2 enabled GPU's are not supported by ROCm. Thunderbolt 1 & 2
|
||||
are PCIe Gen2 based.
|
||||
* AMD Carrizo based APUs have limited support due to OEM & ODM's choices when it
|
||||
comes to some key configuration parameters. On point, we have observed that
|
||||
Carrizo Laptops, AIOs and Desktop systems showed inconsistencies in exposing and
|
||||
enabling the System BIOS parameters required by the ROCm stack. Before
|
||||
purchasing a Carrizo system for ROCm, please verify that the BIOS provides an
|
||||
option for enabling IOMMUv2. If this is the case, the final requirement is
|
||||
associated with correct CRAT table support - please inquire with the OEM about
|
||||
the latter.
|
||||
* AMD Merlin/Falcon Embedded System is also not currently supported by the public Repo.
|
||||
|
||||
#### Support for future APUs
|
||||
We are well aware of the excitement and anticipation built around using ROCm
|
||||
with an APU system which fully exposes Shared Virtual Memory alongside and cache
|
||||
coherency between the CPU and GPU. To this end, in mid 2017 we plan on testing
|
||||
commercial AM4 motherboards for the Bristol Ridge and Raven Ridge families of
|
||||
APUs. Just like you, we still waiting for access to them! Once we have the first
|
||||
boards in the lab we will detail our experiences via our blog, as well as build
|
||||
a list of motherboard that are qualified for use with ROCm.
|
||||
|
||||
### New Features to ROCm 1.7
|
||||
|
||||
#### DKMS driver installation
|
||||
|
||||
* New driver installation uses Dynamic Kernel Module Support (DKMS)
|
||||
* Only amdkfd and amdgpu kernel modules are installed to support AMD hardware
|
||||
* Currently only Debian packages are provided for DKMS (no Fedora suport available)
|
||||
* See the [ROCT-Thunk-Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/roc-1.7.x) and [ROCK-Kernel-Driver](https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/tree/roc-1.7.x) for additional documentation on driver setup
|
||||
|
||||
#### Developer preview of the new OpenCL 1.2 compatible language runtime and compiler
|
||||
|
||||
* OpenCL 2.0 compatible kernel language support with OpenCL 1.2 compatible
|
||||
runtime
|
||||
* Supports offline ahead of time compilation today;
|
||||
during the Beta phase we will add in-process/in-memory compilation.
|
||||
* Binary Package support for Ubuntu 16.04
|
||||
* Binary Package support for Fedora 24 is not currently available
|
||||
* Dropping binary package support for Ubuntu 14.04, Fedora 23
|
||||
|
||||
#### IPC support
|
||||
|
||||
### The latest ROCm platform - ROCm 1.7
|
||||
The latest tested version of the drivers, tools, libraries and source code for
|
||||
the ROCm platform have been released and are available under the roc-1.7.x or rocm-1.7.x tag
|
||||
of the following GitHub repositories:
|
||||
|
||||
* [ROCK-Kernel-Driver](https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/tree/roc-1.7.x)
|
||||
* [ROCR-Runtime](https://github.com/RadeonOpenCompute/ROCR-Runtime/tree/roc-1.7.x)
|
||||
* [ROCT-Thunk-Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/roc-1.7.x)
|
||||
* [ROC-smi](https://github.com/RadeonOpenCompute/ROC-smi/tree/roc-1.7.x)
|
||||
* [HCC compiler](https://github.com/RadeonOpenCompute/hcc/tree/roc-1.7.x)
|
||||
* [compiler-runtime](https://github.com/RadeonOpenCompute/compiler-rt/tree/roc-1.7.x)
|
||||
* [HIP](https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/tree/roc-1.7.x)
|
||||
* [HIP-Examples](https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-Examples/tree/roc-1.7.x)
|
||||
* [atmi](https://github.com/RadeonOpenCompute/atmi/tree/0.3.7)
|
||||
|
||||
Additionally, the following mirror repositories that support the HCC compiler
|
||||
are also available on GitHub, and frozen for the rocm-1.7.0 release:
|
||||
|
||||
* [llvm](https://github.com/RadeonOpenCompute/llvm/tree/roc-1.7.x)
|
||||
* [lld](https://github.com/RadeonOpenCompute/lld/tree/roc-1.7.x)
|
||||
* [hcc-clang-upgrade](https://github.com/RadeonOpenCompute/hcc-clang-upgrade/tree/roc-1.7.x)
|
||||
* [ROCm-Device-Libs](https://github.com/RadeonOpenCompute/ROCm-Device-Libs/tree/roc-1.7.x)
|
||||
|
||||
#### Supported Operating Systems
|
||||
|
||||
The ROCm 1.7 platform has been tested on the following operating systems:
|
||||
* Ubuntu 16.04
|
||||
|
||||
### Installing from AMD ROCm repositories
|
||||
AMD is hosting only debian repositories for the ROCm 1.7 packages at this time. It is expected
|
||||
that an rpm repository will be available in the next point release.
|
||||
|
||||
The packages in the Debian repository have been signed to ensure package integrity.
|
||||
Directions for each repository are given below:
|
||||
|
||||
#### Packaging server update
|
||||
The packaging server has been changed from the old http://packages.amd.com
|
||||
to the new repository site http://repo.radeon.com.
|
||||
|
||||
#### Debian repository - apt-get
|
||||
|
||||
##### 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 -
|
||||
sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list'
|
||||
```
|
||||
The gpg key might change, so it may need to be updated when installing a new
|
||||
release. The current rocm.gpg.key is not avialable in a standard key ring distribution,
|
||||
but has the following sha1sum hash:
|
||||
|
||||
f0d739836a9094004b0a39058d046349aacc1178 rocm.gpg.key
|
||||
|
||||
##### Install or Update
|
||||
Next, update the apt-get repository list and install/update the rocm package:
|
||||
|
||||
>**Warning**: Before proceeding, make sure to completely
|
||||
>[uninstall any previous ROCm package](https://github.com/RadeonOpenCompute/ROCm#removing-pre-release-packages):
|
||||
|
||||
```shell
|
||||
sudo apt-get update
|
||||
sudo apt-get install rocm-dkms
|
||||
```
|
||||
Once complete, reboot your system.
|
||||
|
||||
We recommend you [verify your installation](https://github.com/RadeonOpenCompute/ROCm#verify-installation) to make sure everything completed successfully.
|
||||
|
||||
#### To install ROCm with Developer Preview of OpenCL
|
||||
|
||||
##### Start by following the instruction of installing ROCm with Debian repository:
|
||||
|
||||
at the step "sudo apt-get install rocm-dkms" replace it with:
|
||||
|
||||
```shell
|
||||
sudo apt-get install rocm-dkms rocm-opencl
|
||||
```
|
||||
|
||||
To install the development kit for OpenCL, which includes the OpenCL header files, execute this installation command:
|
||||
|
||||
```shell
|
||||
sudo apt-get install rocm-opencl-dev
|
||||
```
|
||||
|
||||
Then follow the direction for Debian Repository
|
||||
|
||||
###### Upon restart, To test your OpenCL instance
|
||||
|
||||
Build and run Hello World OCL app..
|
||||
|
||||
HelloWorld sample:
|
||||
```
|
||||
wget https://raw.githubusercontent.com/bgaster/opencl-book-samples/master/src/Chapter_2/HelloWorld/HelloWorld.cpp
|
||||
wget https://raw.githubusercontent.com/bgaster/opencl-book-samples/master/src/Chapter_2/HelloWorld/HelloWorld.cl
|
||||
```
|
||||
|
||||
Build it using the default ROCm OpenCL include and library locations:
|
||||
```
|
||||
g++ -I /opt/rocm/opencl/include/ ./HelloWorld.cpp -o HelloWorld -L/opt/rocm/opencl/lib/x86_64 -lOpenCL
|
||||
```
|
||||
|
||||
Run it:
|
||||
```
|
||||
./HelloWorld
|
||||
```
|
||||
|
||||
##### Un-install
|
||||
To un-install the entire rocm development package execute:
|
||||
|
||||
```shell
|
||||
sudo apt-get autoremove rocm-dkms
|
||||
```
|
||||
|
||||
##### Installing development packages for cross compilation
|
||||
It is often useful to develop and test on different systems. In this scenario,
|
||||
you may prefer to avoid installing the ROCm Kernel to your development system.
|
||||
|
||||
In this case, install the development subset of packages:
|
||||
|
||||
```shell
|
||||
sudo apt-get update
|
||||
sudo apt-get install rocm-dev
|
||||
```
|
||||
|
||||
>**Note:** To execute ROCm enabled apps you will require a system with the full
|
||||
>ROCm driver stack installed
|
||||
|
||||
##### Removing pre-release packages
|
||||
If you installed any of the ROCm pre-release packages from github, they will
|
||||
need to be manually un-installed:
|
||||
|
||||
```shell
|
||||
sudo apt-get purge libhsakmt
|
||||
sudo apt-get purge radeon-firmware
|
||||
sudo apt-get purge $(dpkg -l | grep 'kfd\|rocm' | grep linux | grep -v libc | awk '{print $2}')
|
||||
```
|
||||
|
||||
If possible, we would recommend starting with a fresh OS install.
|
||||
|
||||
#### RPM repository - dnf (yum)
|
||||
|
||||
A repository containing rpm packages is currently no available for the ROCm 1.7 release.
|
||||
|
||||
#### Closed source components
|
||||
The ROCm platform relies on a few closed source components to provide legacy
|
||||
functionality like HSAIL finalization and debugging/profiling support. These
|
||||
components are only available through the ROCm repositories, and 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
|
||||
Modifications can be made to the ROCm 1.7 components by modifying the open
|
||||
source code base and rebuilding the components. Source code can be cloned from
|
||||
each of the GitHub repositories using git, or users can use the repo command
|
||||
and the ROCm 1.7 manifest file to download the entire ROCm 1.7 source code.
|
||||
|
||||
#### Installing repo
|
||||
Google's repo tool allows you to manage multiple git repositories
|
||||
simultaneously. You can install it by executing the following commands:
|
||||
|
||||
```shell
|
||||
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
||||
chmod a+x ~/bin/repo
|
||||
```
|
||||
Note: make sure ~/bin exists and it is part of your PATH
|
||||
|
||||
#### Cloning the code
|
||||
```shell
|
||||
mkdir ROCm && cd ROCm
|
||||
repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-1.7.0
|
||||
repo sync
|
||||
```
|
||||
These series of commands will pull all of the open source code associated with
|
||||
the ROCm 1.7 release. Please ensure that ssh-keys are configured for the
|
||||
target machine on GitHub for your GitHub ID.
|
||||
|
||||
* OpenCL Runtime and Compiler will be submitted to the Khronos Group, prior to
|
||||
the final release, for conformance testing.
|
||||
|
||||
# AMD ROCm™ Release Notes v3.10.0
|
||||
|
||||
This page describes the features, fixed issues, and information about downloading and installing the ROCm software.
|
||||
It also covers known issues in this release.
|
||||
|
||||
- [Supported Operating Systems and Documentation Updates](#Supported-Operating-Systems-and-Documentation-Updates)
|
||||
* [Supported Operating Systems](#Supported-Operating-Systems)
|
||||
* [ROCm Installation Updates](#ROCm-Installation-Updates)
|
||||
* [AMD ROCm Documentation Updates](#AMD-ROCm-Documentation-Updates)
|
||||
|
||||
- [What\'s New in This Release](#Whats-New-in-This-Release)
|
||||
* [ROCm Data Center Tool](#ROCm-Data-Center-Tool)
|
||||
* [ROCm System Management Information](#ROCm-System-Management-Information)
|
||||
* [ROCm Math and Communication Libraries](#ROCm-Math-and-Communication-Libraries)
|
||||
* [ROCM AOMP Enhancements](#ROCm-AOMP-Enhancements)
|
||||
|
||||
- [Fixed Defects](#Fixed-Defects)
|
||||
|
||||
- [Known Issues](#Known-Issues)
|
||||
|
||||
- [Deprecations](#Deprecations)
|
||||
|
||||
- [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)
|
||||
|
||||
|
||||
|
||||
# Supported Operating Systems
|
||||
|
||||
## List of Supported Operating Systems
|
||||
|
||||
The AMD ROCm platform is designed to support the following operating systems:
|
||||
|
||||
* Ubuntu 20.04.1 (5.4 and 5.6-oem) and 18.04.5 (Kernel 5.4)
|
||||
|
||||
* CentOS 7.8 & RHEL 7.8 (Kernel 3.10.0-1127) (Using devtoolset-7 runtime support)
|
||||
|
||||
* CentOS 8.2 & RHEL 8.2 (Kernel 4.18.0 ) (devtoolset is not required)
|
||||
|
||||
* SLES 15 SP2
|
||||
|
||||
**Note**: The ROCm Data Center Tool is supported only on Ubuntu v18.04.5 and Ubuntu v20.04.1 in the AMD ROCm v3.10.0 release.
|
||||
|
||||
The CentOS/RHEL and SLES environments are not supported at this time.
|
||||
|
||||
|
||||
|
||||
# ROCm Installation Updates
|
||||
|
||||
## Fresh Installation of AMD ROCm v3.10 Recommended
|
||||
A fresh and clean installation of AMD ROCm v3.10 is recommended. An upgrade from previous releases to AMD ROCm v3.10 is not supported.
|
||||
|
||||
For more information, refer to the AMD ROCm Installation Guide at:
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
|
||||
|
||||
**Note**: AMD ROCm release v3.3 or prior releases are not fully compatible with AMD ROCm v3.5 and higher versions. You must perform a fresh ROCm installation if you want to upgrade from AMD ROCm v3.3 or older to 3.5 or higher versions and vice-versa.
|
||||
|
||||
**Note**: *render group* is required only for Ubuntu v20.04. For all other ROCm supported operating systems, continue to use *video group*.
|
||||
|
||||
* For ROCm v3.5 and releases thereafter,the *clinfo* path is changed to - */opt/rocm/opencl/bin/clinfo*.
|
||||
|
||||
* For ROCm v3.3 and older releases, the *clinfo* path remains unchanged - */opt/rocm/opencl/bin/x86_64/clinfo*.
|
||||
|
||||
**Note**: After an operating system upgrade, AMD ROCm may upgrade automatically and result in an error. This is because AMD ROCm does not support upgrades currently. You must uninstall and reinstall AMD ROCm after an operating system upgrade.
|
||||
|
||||
|
||||
## ROCm MultiVersion Installation Update
|
||||
|
||||
With the AMD ROCm v3.10 release, the following ROCm multi-version installation changes apply:
|
||||
|
||||
The meta packages rocm-dkms<version> are now deprecated for multi-version ROCm installs. For example, rocm-dkms3.7.0, rocm-dkms3.8.0.
|
||||
|
||||
* Multi-version installation of ROCm should be performed by installing rocm-dev<version> using each of the desired ROCm versions. For example, rocm-dev3.7.0, rocm-dev3.8.0, rocm-dev3.9.0.
|
||||
* Version files must be created for each multi-version rocm <= 3.10.0
|
||||
|
||||
* command: echo <version> | sudo tee /opt/rocm-<version>/.info/version
|
||||
|
||||
* example: echo 3.9.0 | sudo tee /opt/rocm-3.10.0/.info/version
|
||||
|
||||
* The rock-dkms loadable kernel modules should be installed using a single rock-dkms package.
|
||||
|
||||
* ROCm v3.10 and above will not set any *ldconfig* entries for ROCm libraries for multi-version installation. Users must set *LD_LIBRARY_PATH* to load the ROCm library version of choice.
|
||||
|
||||
|
||||
**NOTE**: The single version installation of the ROCm stack remains the same. The rocm-dkms package can be used for single version installs and is not deprecated at this time.
|
||||
|
||||
|
||||
|
||||
# AMD ROCm Documentation Updates
|
||||
|
||||
## AMD ROCm Installation Guide
|
||||
|
||||
The AMD ROCm Installation Guide in this release includes:
|
||||
|
||||
* Updated Supported Environments
|
||||
* Installation Instructions for v3.10
|
||||
* HIP Installation Instructions
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
|
||||
|
||||
|
||||
## ROCm SMI API Documentation Updates
|
||||
|
||||
* System DMA (SDMA) Utilization API
|
||||
|
||||
* ROCm-SMI Command Line Interface
|
||||
|
||||
* Enhanced ROCm SMI Library for Events
|
||||
|
||||
|
||||
For the updated ROCm SMI API Guide, see
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_SMI_API_Guide_v3.10.pdf
|
||||
|
||||
|
||||
## ROCm Data Center Tool User Guide
|
||||
|
||||
The ROCm Data Center Tool User Guide includes the following enhancements:
|
||||
|
||||
* ROCm Data Center Tool Python Binding
|
||||
|
||||
* Prometheus plugin integration
|
||||
|
||||
For more information, refer to the ROCm Data Center Tool User Guide at:
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/AMD_ROCm_DataCenter_Tool_User_Guide.pdf
|
||||
|
||||
For ROCm Data Center APIs, see
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_Data_Center_API_Guide.pdf
|
||||
|
||||
|
||||
## AMD ROCm - HIP Documentation Updates
|
||||
|
||||
* HIP FAQ
|
||||
|
||||
For more information, refer to
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-FAQ.html#hip-faq
|
||||
|
||||
|
||||
## General AMD ROCm Documentation Links
|
||||
|
||||
Access the following links for more information:
|
||||
|
||||
* For AMD ROCm documentation, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/
|
||||
|
||||
* For installation instructions on supped 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#software-stack-for-amd-gpu
|
||||
|
||||
* 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
|
||||
|
||||
## ROCm DATA CENTER TOOL
|
||||
|
||||
The following enhancements are made to the ROCm Data Center Tool.
|
||||
|
||||
### Prometheus Plugin for ROCm Data Center Tool
|
||||
|
||||
The ROCm Data Center (RDC) Tool now provides the Prometheus plugin, a Python client to collect the telemetry data of the GPU.
|
||||
The RDC uses Python binding for Prometheus and the collected plugin. The Python binding maps the RDC C APIs to Python using ctypes. The functions supported by C APIs can also be used in the Python binding.
|
||||
|
||||
For installation instructions, refer to the ROCm Data Center Tool User Guide at
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/AMD_ROCm_DataCenter_Tool_User_Guide.pdf
|
||||
|
||||
### Python Binding
|
||||
|
||||
The ROCm Data Center (RDC) Tool now uses PyThon Binding for Prometheus and collectd plugins. PyThon binding maps the RDC C APIs to PyThon using ctypes. All the functions supported by C APIs can also be used in PyThon binding. A generic PyThon class RdcReader is created to simplify the usage of the RDC:
|
||||
|
||||
* Users can only specify the fields they want to monitor. RdcReader creates groups and fieldgroups, watches the fields, and fetches the fields.
|
||||
|
||||
* RdcReader can support both the Embedded and Standalone mode. Standalone mode can be used with and without authentication.
|
||||
|
||||
* In the Standalone mode, the RdcReader can automatically reconnect to rdcd when connection is lost.When rdcd is restarted, the previously created group and fieldgroup may lose. The RdcReader can re-create them and watch the fields after a reconnect.
|
||||
|
||||
* If the client is restarted, RdcReader can detect the groups and fieldgroups created previously, and, therefore, can avoid recreating them.
|
||||
|
||||
* Users can pass the unit converter if they do not want to use the RDC default unit.
|
||||
|
||||
See the following sample program to monitor the power and GPU utilization using the RdcReader:
|
||||
|
||||
```
|
||||
|
||||
from RdcReader import RdcReader
|
||||
from RdcUtil import RdcUtil
|
||||
from rdc_bootstrap import *
|
||||
|
||||
default_field_ids = [
|
||||
rdc_field_t.RDC_FI_POWER_USAGE,
|
||||
rdc_field_t.RDC_FI_GPU_UTIL
|
||||
]
|
||||
|
||||
class SimpleRdcReader(RdcReader):
|
||||
def __init__(self):
|
||||
RdcReader.__init__(self,ip_port=None, field_ids = default_field_ids, update_freq=1000000)
|
||||
def handle_field(self, gpu_index, value):
|
||||
field_name = self.rdc_util.field_id_string(value.field_id).lower()
|
||||
print("%d %d:%s %d" % (value.ts, gpu_index, field_name, value.value.l_int))
|
||||
|
||||
if __name__ == '__main__':
|
||||
reader = SimpleRdcReader()
|
||||
while True:
|
||||
time.sleep(1)
|
||||
reader.process()
|
||||
|
||||
```
|
||||
|
||||
For more information about RDC Python binding and the Prometheus plugin integration, refer to the ROCm Data Center Tool User Guide at
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/AMD_ROCm_DataCenter_Tool_User_Guide.pdf
|
||||
|
||||
|
||||
## ROCm SYSTEM MANAGEMENT INFORMATION
|
||||
|
||||
### System DMA (SDMA) Utilization
|
||||
|
||||
Per-process, the SDMA usage is exposed via the ROCm SMI library. The structure rsmi_process_info_t is extended to include sdma_usage. sdma_usage is a 64-bit value that counts the duration (in microseconds) for which the SDMA engine was active during that process's lifetime.
|
||||
|
||||
For example, see the rsmi_compute_process_info_by_pid_get() API below.
|
||||
|
||||
```
|
||||
|
||||
/**
|
||||
* @brief This structure contains information specific to a process.
|
||||
*/
|
||||
typedef struct {
|
||||
- - -,
|
||||
uint64_t sdma_usage; // SDMA usage in microseconds
|
||||
} rsmi_process_info_t;
|
||||
rsmi_status_t
|
||||
rsmi_compute_process_info_by_pid_get(uint32_t pid,
|
||||
rsmi_process_info_t *proc);
|
||||
|
||||
```
|
||||
|
||||
### ROCm-SMI Command Line Interface
|
||||
|
||||
The SDMA usage per-process is available using the following command,
|
||||
|
||||
```
|
||||
$ rocm-smi –showpids
|
||||
|
||||
```
|
||||
|
||||
For more information, see the ROCm SMI API guide at,
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_SMI_API_Guide_v3.10.pdf
|
||||
|
||||
|
||||
### Enhanced ROCm SMI Library for Events
|
||||
|
||||
ROCm-SMI library clients can now register to receive the following events:
|
||||
|
||||
* GPU PRE RESET: This reset event is sent to the client just before a GPU is going to be RESET.
|
||||
|
||||
* GPU POST RESET: This reset event is sent to the client after a successful GPU RESET.
|
||||
|
||||
* GPU THERMAL THROTTLE: This Thermal throttling event is sent if GPU clocks are throttled.
|
||||
|
||||
|
||||
For more information, refer to the ROCm SMI API Guide at:
|
||||
|
||||
https://github.com/RadeonOpenCompute/ROCm/blob/master/ROCm_SMI_API_Guide_v3.10.pdf
|
||||
|
||||
|
||||
### ROCm SMI – Command Line Interface Hardware Topology
|
||||
|
||||
This feature provides a matrix representation of the GPUs present in a system by providing information of the manner in which the nodes are connected. This is represented in terms of weights, hops, and link types between two given GPUs. It also provides the numa node and the CPU affinity associated with every GPU.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## ROCm MATH and COMMUNICATION LIBRARIES
|
||||
|
||||
### New rocSOLVER APIs
|
||||
The following new rocSOLVER APIs are added in this release:
|
||||
|
||||

|
||||
|
||||
For more information, refer to
|
||||
|
||||
https://rocsolver.readthedocs.io/en/latest/userguide_api.html
|
||||
|
||||
### RCCL Alltoallv Support in PyTorch
|
||||
|
||||
The AMD ROCm v3.10 release includes a new API for ROCm Communication Collectives Library (RCCL). This API sends data from all to all ranks and each rank provides arrays of input/output data counts and offsets.
|
||||
|
||||
For details about the functions and parameters, see
|
||||
|
||||
https://rccl.readthedocs.io/en/master/allapi.html
|
||||
|
||||
## ROCm AOMP ENHANCEMENTS
|
||||
|
||||
### AOMP Release 11.11-0
|
||||
|
||||
The source code base for this release is the upstream LLVM 11 monorepo release/11.x sources with the hash value
|
||||
|
||||
*176249bd6732a8044d457092ed932768724a6f06*
|
||||
|
||||
This release includes fixes to the internal Clang math headers:
|
||||
|
||||
* This set of changes applies to clang internal headers to support OpenMP C, C++, and FORTRAN and for HIP C. This establishes consistency between NVPTX and AMDGCN offloading and between OpenMP, HIP, and CUDA. OpenMP uses function variants and header overlays to define device versions of functions. This causes clang LLVM IR codegen to mangled names of variants in both the definition and callsites of functions defined in the internal clang headers. These changes apply to headers found in the installation subdirectory lib/clang/11.0.0/include.
|
||||
|
||||
* These changes temporarily eliminate the use of the libm bitcode libraries for C and C++. Although math functions are now defined with internal clang headers, a bitcode library of the C functions defined in the headers is still built for FORTRAN toolchain linking because FORTRAN cannot use c math headers. This bitcode library is installed in lib/libdevice/libm-.bc. The source build of this bitcode library is done with the aomp-extras repository and the component built script build_extras.sh. In the future, we will introduce across the board changes to eliminate massive header files for math libraries and replace them with linking to bitcode libraries.
|
||||
|
||||
* Added support for -gpubnames in Flang Driver
|
||||
|
||||
* Added an example category for Kokkos. The Kokkos example makefile detects if Kokkos is installed and, if not, it builds Kokkos from the Web. Refer to the script kokkos_build.sh in the bin directory on how to build Kokkos. Kokkos now builds cleanly with the OpenMP backend for simple test cases.
|
||||
|
||||
* Fixed hostrpc cmake race condition in the build of openmp
|
||||
|
||||
* Add a fatal error if missing -Xopenmp-target or -march options when -fopenmp-targets is specified. However, we do forgive this requirement for offloading to host when there is only a single target and that target is the host.
|
||||
|
||||
* Fix a bug in InstructionSimplify pass where a comparison of two constants of different sizes found in the optimization pass. This fixes issue #182 which was causing kokkos build failure.
|
||||
|
||||
* Fix openmp error message output for no_rocm_device_lib, was asserting.
|
||||
|
||||
* Changed linkage on constant per-kernel symbols from external to weaklinkageonly to prevent duplicate symbols when building kokkos.
|
||||
|
||||
|
||||
|
||||
# Fixed Defects
|
||||
|
||||
The following defects are fixed in this release:
|
||||
|
||||
* HIPfort failed to be installed
|
||||
|
||||
* rocm-smi does not work as-is in 3.9, instead prints a reference to documentation
|
||||
|
||||
* *--showtopo*, weight and hop count shows wrong data
|
||||
|
||||
* Unable to install RDC on CentOS/RHEL 7.8/8.2 & SLES
|
||||
|
||||
* Unable to install mivisionx with error "Problem: nothing provides opencv needed"
|
||||
|
||||
|
||||
# Known Issues
|
||||
|
||||
The following are the known issues in this release.
|
||||
|
||||
## Upgrade to AMD ROCm v3.10 Not Supported
|
||||
|
||||
An upgrade from previous releases to AMD ROCm v3.10 is not supported. A fresh and clean installation of AMD ROCm v3.10 is recommended.
|
||||
|
||||
|
||||
# Deprecations
|
||||
|
||||
This section describes deprecations and removals in AMD ROCm.
|
||||
|
||||
## WARNING: COMPILER-GENERATED CODE OBJECT VERSION 2 DEPRECATION
|
||||
|
||||
Compiler-generated code object version 2 is no longer supported and will be removed shortly. AMD ROCm users must plan for the code object version 2 deprecation immediately.
|
||||
|
||||
Support for loading code object version 2 is also being deprecated with no announced removal release.
|
||||
|
||||
|
||||
# Deploying ROCm
|
||||
|
||||
AMD hosts both Debian and RPM repositories for the ROCm v3.10.x packages.
|
||||
|
||||
For more information on ROCM installation on all platforms, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
|
||||
|
||||
|
||||
## Machine Learning and High Performance Computing Software Stack for AMD GPU
|
||||
|
||||
For an updated version of the software stack for AMD GPU, see
|
||||
|
||||
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#software-stack-for-amd-gpu
|
||||
|
||||
|
||||
|
||||
# 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.
|
||||
|
||||
#### Supported GPUs
|
||||
Because the ROCm Platform has a focus on particular computational domains, we offer official support for a selection of AMD GPUs that are designed to offer good performance and price in these domains.
|
||||
|
||||
**Note:** The integrated GPUs of Ryzen are not officially supported targets for ROCm.
|
||||
|
||||
ROCm officially supports AMD GPUs that use following chips:
|
||||
|
||||
* GFX8 GPUs
|
||||
* "Fiji" chips, such as on the AMD Radeon R9 Fury X and Radeon Instinct MI8
|
||||
* "Polaris 10" chips, such as on the AMD Radeon RX 580 and Radeon Instinct MI6
|
||||
* GFX9 GPUs
|
||||
* "Vega 10" chips, such as on the AMD Radeon RX Vega 64 and Radeon Instinct MI25
|
||||
* "Vega 7nm" chips, such as on the Radeon Instinct MI50, Radeon Instinct MI60 or AMD Radeon VII
|
||||
|
||||
ROCm is a collection of software ranging from drivers and runtimes to libraries and developer tools.
|
||||
Some of this software may work with more GPUs than the "officially supported" list above, though AMD does not make any official claims of support for these devices on the ROCm software platform.
|
||||
The following list of GPUs are enabled in the ROCm software, though full support is not guaranteed:
|
||||
|
||||
* GFX8 GPUs
|
||||
* "Polaris 11" chips, such as on the AMD Radeon RX 570 and Radeon Pro WX 4100
|
||||
* "Polaris 12" chips, such as on the AMD Radeon RX 550 and Radeon RX 540
|
||||
* GFX7 GPUs
|
||||
* "Hawaii" chips, such as the AMD Radeon R9 390X and FirePro W9100
|
||||
|
||||
As described in the next section, GFX8 GPUs require PCI Express 3.0 (PCIe 3.0) with support for PCIe atomics. This requires both CPU and motherboard support. GFX9 GPUs require PCIe 3.0 with support for PCIe atomics by default, but they can operate in most cases without this capability.
|
||||
|
||||
The integrated GPUs in AMD APUs are not officially supported targets for ROCm.
|
||||
As described [below](#limited-support), "Carrizo", "Bristol Ridge", and "Raven Ridge" APUs are enabled in our upstream drivers and the ROCm OpenCL runtime.
|
||||
However, they are not enabled in the HIP runtime, and may not work due to motherboard or OEM hardware limitations.
|
||||
As such, they are not yet officially supported targets for ROCm.
|
||||
|
||||
For a more detailed list of hardware support, please see [the following documentation](https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units).
|
||||
|
||||
#### Supported CPUs
|
||||
As described above, GFX8 GPUs require PCIe 3.0 with PCIe atomics in order to run ROCm.
|
||||
In particular, the CPU and every active PCIe point between the CPU and GPU require support for PCIe 3.0 and PCIe atomics.
|
||||
The CPU root must indicate PCIe AtomicOp Completion capabilities and any intermediate switch must indicate PCIe AtomicOp Routing capabilities.
|
||||
|
||||
Current CPUs which support PCIe Gen3 + PCIe Atomics are:
|
||||
|
||||
* AMD Ryzen CPUs
|
||||
* The CPUs in AMD Ryzen APUs
|
||||
* AMD Ryzen Threadripper CPUs
|
||||
* AMD EPYC CPUs
|
||||
* Intel Xeon E7 v3 or newer CPUs
|
||||
* Intel Xeon E5 v3 or newer CPUs
|
||||
* Intel Xeon E3 v3 or newer CPUs
|
||||
* Intel Core i7 v4, Core i5 v4, Core i3 v4 or newer CPUs (i.e. Haswell family or newer)
|
||||
* Some Ivy Bridge-E systems
|
||||
|
||||
Beginning with ROCm 1.8, GFX9 GPUs (such as Vega 10) no longer require PCIe atomics.
|
||||
We have similarly opened up more options for number of PCIe lanes.
|
||||
GFX9 GPUs can now be run on CPUs without PCIe atomics and on older PCIe generations, such as PCIe 2.0.
|
||||
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.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.
|
||||
|
||||
If you attempt to run ROCm on a system without proper PCIe atomic support, you may see an error in the kernel log (`dmesg`):
|
||||
```
|
||||
kfd: skipped device 1002:7300, PCI rejects atomics
|
||||
```
|
||||
|
||||
Experimental support for our Hawaii (GFX7) GPUs (Radeon R9 290, R9 390, FirePro W9100, S9150, S9170)
|
||||
does not require or take advantage of PCIe Atomics. However, we still recommend that you use a CPU
|
||||
from the list provided above for compatibility purposes.
|
||||
|
||||
#### Not supported or limited support under ROCm
|
||||
|
||||
##### Limited support
|
||||
|
||||
* 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 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.
|
||||
* Before purchasing such a system for ROCm, please verify that the BIOS provides an option for enabling IOMMUv2 and that the system BIOS properly exposes the correct CRAT table. Inquire with your vendor about the latter.
|
||||
* AMD "Raven Ridge" APUs are enabled to run OpenCL, but do not yet support HIP or our libraries built on top of these compilers and runtimes.
|
||||
* As of ROCm 2.1, "Raven Ridge" requires the use of upstream kernel drivers.
|
||||
* In addition, various "Raven 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.
|
||||
* Before purchasing such a system for ROCm, please verify that the BIOS provides an option for enabling IOMMUv2 and that the system BIOS properly exposes the correct CRAT table. Inquire with your vendor about the latter.
|
||||
|
||||
##### Not supported
|
||||
|
||||
* "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.
|
||||
|
||||
#### 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.
|
||||
As such, users have the option of either using the ROCK kernel driver that are part of AMD's ROCm repositories or using the upstream driver and only installing ROCm user-level utilities from AMD's ROCm repositories.
|
||||
|
||||
These releases of the upstream Linux kernel support the following GPUs in ROCm:
|
||||
* 4.17: Fiji, Polaris 10, Polaris 11
|
||||
* 4.18: Fiji, Polaris 10, Polaris 11, Vega10
|
||||
* 4.20: Fiji, Polaris 10, Polaris 11, Vega10, Vega 7nm
|
||||
|
||||
The upstream driver may be useful for running ROCm software on systems that are not compatible with the kernel driver available in AMD's repositories.
|
||||
For users that have the option of using either AMD's or the upstreamed driver, there are various tradeoffs to take into consideration:
|
||||
|
||||
| | Using AMD's `rock-dkms` package | Using the upstream kernel driver |
|
||||
| ---- | ------------------------------------------------------------| ----- |
|
||||
| Pros | More GPU features, and they are enabled earlier | Includes the latest Linux kernel features |
|
||||
| | Tested by AMD on supported distributions | May work on other distributions and with custom kernels |
|
||||
| | 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 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 |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BIN
ROCm_Data_Center_API_Guide.pdf
Normal file
BIN
ROCm_Data_Center_API_Guide.pdf
Normal file
Binary file not shown.
BIN
ROCm_SMI_API_Guide_v3.10.pdf
Normal file
BIN
ROCm_SMI_API_Guide_v3.10.pdf
Normal file
Binary file not shown.
105
default.xml
105
default.xml
@@ -1,27 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
|
||||
<remote name="roc-github"
|
||||
fetch="ssh://git@github.com/RadeonOpenCompute/" />
|
||||
<remote name="pctools-github"
|
||||
fetch="ssh://git@github.com/GPUOpen-ProfessionalCompute-Tools/" />
|
||||
|
||||
<default revision="roc-1.7.x"
|
||||
remote="roc-github"
|
||||
sync-j="4" />
|
||||
|
||||
<project path="ROCK-Kernel-Driver" name="ROCK-Kernel-Driver" />
|
||||
<project path="ROCT-Thunk-Interface" name="ROCT-Thunk-Interface" />
|
||||
<project path="ROC-smi" name="ROC-smi" />
|
||||
<project path="ROCR-Runtime" name="ROCR-Runtime" />
|
||||
<project path="hcc" name="hcc" />
|
||||
<project path="compiler-rt" name="compiler-rt" />
|
||||
<project path="HIP" remote="pctools-github" name="HIP" />
|
||||
<project path="HIP-Examples" remote="pctools-github" name="HIP-Examples" />
|
||||
<project path="atmi" name="atmi" revision="master" />
|
||||
<project path="llvm" name="llvm" />
|
||||
<project path="lld" name="lld" />
|
||||
<project path="hcc-clang-upgrade" name="hcc-clang-upgrade" />
|
||||
<project path="ROCm-Device-Libs" name="ROCm-Device-Libs" />
|
||||
|
||||
fetch="http://github.com/RadeonOpenCompute/" />
|
||||
<remote name="rocm-devtools"
|
||||
fetch="https://github.com/ROCm-Developer-Tools/" />
|
||||
<remote name="rocm-swplat"
|
||||
fetch="https://github.com/ROCmSoftwarePlatform/" />
|
||||
<remote name="gpuopen-libs"
|
||||
fetch="https://github.com/GPUOpen-ProfessionalCompute-Libraries/" />
|
||||
<remote name="gpuopen-tools"
|
||||
fetch="https://github.com/GPUOpen-Tools/" />
|
||||
<remote name="KhronosGroup"
|
||||
fetch="https://github.com/KhronosGroup/" />
|
||||
<default revision="refs/tags/rocm-3.10.0"
|
||||
remote="roc-github"
|
||||
sync-c="true"
|
||||
sync-j="4" />
|
||||
<!--list of projects for ROCM-->
|
||||
<project name="ROCK-Kernel-Driver" />
|
||||
<project name="ROCT-Thunk-Interface" />
|
||||
<project name="ROCR-Runtime" />
|
||||
<project name="ROC-smi" />
|
||||
<project name="rocm_smi_lib" />
|
||||
<project name="rocm-cmake" />
|
||||
<project name="rocminfo" />
|
||||
<project name="rocprofiler" remote="rocm-devtools" />
|
||||
<project name="roctracer" remote="rocm-devtools" />
|
||||
<project name="ROCm-OpenCL-Runtime" />
|
||||
<project path="ROCm-OpenCL-Runtime/api/opencl/khronos/icd" name="OpenCL-ICD-Loader" remote="KhronosGroup" revision="6c03f8b58fafd9dd693eaac826749a5cfad515f8" />
|
||||
<project name="clang-ocl" />
|
||||
<!--HIP Projects-->
|
||||
<project name="HIP" remote="rocm-devtools" />
|
||||
<project name="HIP-Examples" remote="rocm-devtools" />
|
||||
<project name="ROCclr" remote="rocm-devtools" />
|
||||
<project name="HIPIFY" remote="rocm-devtools" />
|
||||
<!-- The following projects are all associated with the AMDGPU LLVM compiler -->
|
||||
<project name="llvm-project" />
|
||||
<project name="ROCm-Device-Libs" />
|
||||
<project name="atmi" />
|
||||
<project name="ROCm-CompilerSupport" />
|
||||
<project name="rocr_debug_agent" remote="rocm-devtools" />
|
||||
<project name="rocm_bandwidth_test" />
|
||||
<project name="half" remote="rocm-swplat" revision="37742ce15b76b44e4b271c1e66d13d2fa7bd003e" />
|
||||
<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="rdc" remote="roc-github" />
|
||||
<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" />
|
||||
<project name="MIOpen" remote="rocm-swplat" />
|
||||
<project name="rccl" remote="rocm-swplat" />
|
||||
<project name="MIVisionX" remote="gpuopen-libs" />
|
||||
<project name="rocThrust" remote="rocm-swplat" />
|
||||
<project name="hipCUB" remote="rocm-swplat" />
|
||||
<project name="rocPRIM" remote="rocm-swplat" />
|
||||
<project name="hipfort" remote="rocm-swplat" />
|
||||
<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" />
|
||||
<project name="ROCR-Runtime" path="aomp/rocr-runtime" />
|
||||
<project name="ROCm-Device-Libs" path="aomp/rocm-device-libs" />
|
||||
<project name="ROCm-CompilerSupport" path="aomp/rocm-compilersupport" />
|
||||
<project name="rocminfo" path="aomp/rocminfo" />
|
||||
<project name="HIP" path="aomp/hip-on-vdi" remote="rocm-devtools" />
|
||||
<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" />
|
||||
<project name="ROCm-OpenCL-Runtime" path="aomp/opencl-on-vdi" />
|
||||
<!-- Projects for OpenMP-Extras -->
|
||||
<project name="aomp" path="openmp-extras/aomp" remote="rocm-devtools" revision="refs/tags/rocm-uc-3.10.0" />
|
||||
<project name="aomp-extras" path="openmp-extras/aomp-extras" remote="rocm-devtools" revision="refs/tags/rocm-uc-3.10.0" />
|
||||
<project name="flang" path="openmp-extras/flang" remote="rocm-devtools" revision="refs/tags/rocm-uc-3.10.0" />
|
||||
</manifest>
|
||||
|
||||
BIN
images/CLI1.PNG
Normal file
BIN
images/CLI1.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
BIN
images/CLI2.PNG
Normal file
BIN
images/CLI2.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
images/rocsolverAPI.PNG
Normal file
BIN
images/rocsolverAPI.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
Reference in New Issue
Block a user