Compare commits

..

89 Commits

Author SHA1 Message Date
James Edwards
6376df8799 Change extraction protocol to http. 2018-06-13 10:53:07 -05:00
James Adrian Edwards
93301e03e2 Update README for 1.7.2 release. 2018-04-26 09:29:43 -05:00
Gregory Stoner
7f15331a67 Update README.md 2018-03-21 19:42:19 -05:00
James Edwards
3f4e60c4d0 Merge pull request #370 from RadeonOpenCompute/roc-1.7.1
Roc 1.7.1
2018-03-21 14:23:21 -05:00
James Edwards
f558960c7e Update README.md 2018-03-21 14:21:55 -05:00
James Edwards
c1e71f0dcc Update README.md
Add information on kernel upgrade.
2018-03-21 14:20:02 -05:00
James Edwards
08257cbca7 Merge pull request #358 from RadeonOpenCompute/roc-1.7.1
Roc 1.7.1
2018-03-11 20:00:17 -05:00
James Edwards
88d4832e84 Merge branch 'master' into roc-1.7.1 2018-03-11 19:57:16 -05:00
James Edwards
4a77b8ec63 Merge pull request #357 from RadeonOpenCompute/roc-1.7.0
Update README.md
2018-03-11 19:52:57 -05:00
James Edwards
47cb66122f Update README.md 2018-03-11 19:52:23 -05:00
James Edwards
cb75f9faeb Update README.md 2018-03-11 19:47:51 -05:00
James Adrian Edwards
8c1d89e69f ROCm 1.7.1 2018-03-11 19:44:33 -05:00
Gregory Stoner
1a315e093f Update README.md 2018-03-11 08:43:20 -06:00
Gregory Stoner
42e58efc65 Update README.md 2018-03-11 08:42:08 -06:00
Gregory Stoner
04628c0e85 Update README.md 2017-12-29 11:49:00 -06:00
Gregory Stoner
883df8b9f5 Update README.md 2017-12-23 09:48:17 -06:00
Gregory Stoner
d46888fe1e Update README.md 2017-12-23 09:36:46 -06:00
Gregory Stoner
5dd391eb49 Update README.md 2017-12-23 09:32:50 -06:00
Gregory Stoner
04534f7b52 Update README.md 2017-12-23 09:29:27 -06:00
Gregory Stoner
3e82c69b04 Update README.md 2017-12-19 21:41:32 -06:00
James Edwards
39c0ecbbda Merge pull request #272 from RadeonOpenCompute/roc-1.7.0
ROCm 1.7.0
2017-12-19 14:56:20 -06:00
James Adrian Edwards
95c6ddd586 Update ROCm 1.7 support information. 2017-12-19 14:53:48 -06:00
James Adrian Edwards
3b73215554 Update ROCm 1.7 support information. 2017-12-19 14:51:45 -06:00
James Adrian Edwards
39ebe697ba Update ROCm 1.7 support information. 2017-12-18 15:29:30 -06:00
James Adrian Edwards
b6c6392ee4 Update ROCm 1.7 support information. 2017-12-18 14:57:03 -06:00
James Adrian Edwards
6e5b253e67 Update ROCm 1.7 support information. 2017-12-18 14:33:33 -06:00
Gregory Stoner
a93a3fe488 Update README.md 2017-10-15 10:24:02 -05:00
Gregory Stoner
dfff4e0f40 Merge pull request #155 from RadeonOpenCompute/notice-incompatibility-15-16
Add warning to inform users about incompatibilities between 1.5 and 1.6
2017-09-02 07:31:52 -05:00
Wen-Heng (Jack) Chung
8bd9db4e8e Add warning to inform users about incompatibilities between 1.5 and 1.6 2017-07-07 11:30:29 -05:00
Gregory Stoner
bb158e9d7f Update README.md 2017-06-30 09:57:32 -05:00
Gregory Stoner
3387f5b9d8 Update README.md 2017-06-30 09:54:07 -05:00
Gregory Stoner
42ed737183 Update README.md 2017-06-30 09:53:29 -05:00
Gregory Stoner
eab9718cb8 Update README.md 2017-06-30 09:53:04 -05:00
James Edwards
4c7d3cdd4c Merge pull request #137 from RadeonOpenCompute/roc-1.6.0
ROCm 1.6 updates.
2017-06-30 00:43:22 -05:00
James Edwards
2a0d469a95 ROCm 1.6 updates. 2017-06-29 22:23:25 -05:00
Gregory Stoner
67197a8232 Update README.md 2017-05-22 12:05:29 -05:00
James Edwards
38a3c6dbcf Update README.md 2017-05-03 10:00:07 -05:00
James Edwards
a0e3f8b827 Merge pull request #113 from VincentSC/patch-1
Feedback from updating 1.4 to 1.5 on Ubuntu 16.04
2017-05-03 09:57:54 -05:00
Gregory Stoner
274fe660e7 Update README.md 2017-05-03 07:45:10 -05:00
VincentSC
47b44a6256 Feedback from updating 1.4 to 1.5 on Ubuntu 16.04
- 1.4 needed to be removed with `sudo apt remove hsa-rocr-dev hsa-ext-rocr-dev rocm-smi hsakmt-roct-dev`
- The name of the opencl-rocm and opencl-rocm-dev changed to rocm-opencl and rocm-opencl-dev
2017-05-03 13:18:19 +02:00
James Edwards
58b931ebcb ROCm 1.5 Updates 2017-05-02 10:31:53 -05:00
James Edwards
629d40bfc7 ROCm 1.5 updates 2017-05-02 09:31:16 -05:00
James Edwards
906cc8ff0d ROCm 1.5 updates 2017-05-01 15:59:15 -05:00
James Edwards
d1bee880ec ROCm 1.5 updates 2017-05-01 14:21:53 -05:00
James Edwards
5848c31366 ROCm 1.5 updates 2017-05-01 14:04:26 -05:00
JC Baratault
81748fb6bc Update README.md 2017-03-30 08:19:31 +02:00
James Edwards
31c471261f Update README.md
Fix typo.
2017-03-25 22:14:16 -05:00
James Edwards
c74c95fc68 Update README.md 2017-03-10 17:26:35 -06:00
James Edwards
4285f8a098 Update README.md 2017-03-09 08:51:40 -06:00
James Edwards
dd62072371 Update README.md 2017-03-09 08:41:45 -06:00
James Edwards
2a71da0814 Update README.md 2017-02-22 11:13:59 -06:00
James Edwards
516c0e0959 Update README.md 2017-02-22 09:51:06 -06:00
Gregory Stoner
f1bfe97835 Merge pull request #67 from psteinb/fixed_opencl_include_path
fixed wrong path in opencl compiler call (opencl-rocm-dev 1.2.0)
2017-01-13 21:00:01 -06:00
James Edwards
a2b5a947f6 Update README.md 2017-01-09 12:28:26 -06:00
James Edwards
c015023a07 Update README.md
Clarify OpenCL support for OS versions and ASICS.
2017-01-09 12:09:47 -06:00
Peter Steinbach
30803ce928 fixed wrong path in opencl compiler call (opencl-rocm-dev 1.2.0) 2017-01-03 14:19:26 +01:00
Gregory Stoner
54d89493a0 Update README.md 2016-12-23 10:04:19 -06:00
Gregory Stoner
a17b25b6c6 Update README.md 2016-12-23 09:57:07 -06:00
Alex Voicu
2102aee014 Fix for messed up formatting in the prior commit. 2016-12-19 18:49:51 +00:00
Alex Voicu
6aeb011170 This is a slight refactoring of the documentation, correcting a few typos and adjusting a few minor items. 2016-12-19 18:45:32 +00:00
James Edwards
9d2c8fc3cd Update README.md 2016-12-19 10:19:24 -06:00
Gregory Stoner
45aa402d90 Update README.md 2016-12-18 21:29:48 -06:00
Gregory Stoner
c933b9f835 Update README.md 2016-12-18 21:27:23 -06:00
Gregory Stoner
5b7d3da9e4 Update README.md 2016-12-18 21:24:19 -06:00
Gregory Stoner
567ef05eda Update README.md 2016-12-18 21:19:40 -06:00
Gregory Stoner
c2065eaf8d Update README.md 2016-12-18 21:13:05 -06:00
Gregory Stoner
2e30be09db Update README.md 2016-12-18 21:12:30 -06:00
Gregory Stoner
06afbf1bad Update README.md 2016-12-18 21:00:35 -06:00
Gregory Stoner
f18cad3aee Update README.md 2016-12-18 20:45:44 -06:00
Gregory Stoner
75b1372a5f Update README.md 2016-12-18 20:44:14 -06:00
Gregory Stoner
535a1a6dfb Update README.md 2016-12-18 20:41:31 -06:00
Gregory Stoner
318b9d5b9b Update README.md 2016-12-17 21:32:15 -06:00
Gregory Stoner
b33cd08098 Update README.md 2016-12-17 21:31:37 -06:00
Gregory Stoner
e7e724056a Update README.md 2016-12-17 20:08:16 -06:00
Gregory Stoner
70f898a228 Update README.md 2016-12-17 20:00:48 -06:00
Gregory Stoner
1a6703a2af Update README.md 2016-12-17 08:32:40 -06:00
James Edwards
10c3f0c4bf Update default.xml 2016-12-16 14:57:58 -06:00
James Edwards
48f0be701c Update README for ROCm 1.4 2016-12-16 14:57:06 -06:00
James Edwards
d0a595787a Update README.md 2016-11-11 11:28:52 -06:00
James Edwards
b06d137097 README.md 1.3.0 updates 2016-11-11 11:25:03 -06:00
Kent Russell
fc75746299 README: update for 1.3 release
Change-Id: I901192123c7876c6ca1a40e90c72415488252e88
2016-11-10 11:32:34 -05:00
Gregory Stoner
fd261de461 Update README.md 2016-08-20 11:36:27 -05:00
James Edwards
e28d968135 ROCm 1.2 README updates 2016-08-15 13:38:25 -05:00
James Edwards
985724f3e4 ROCm 1.2 README updates 2016-08-15 13:34:19 -05:00
James Edwards
4b454b72ea Update README.md 2016-08-15 09:56:17 -05:00
Gregory Stoner
e1e1e4f569 Merge pull request #20 from forresti/question-mark
I think 'Are You Ready to ROCK' is a question.
2016-07-14 11:55:36 -05:00
forresti
c83fabc3b7 I think 'Are You Ready to ROCK' is a question. 2016-07-13 18:15:30 -07:00
Gregory Stoner
92ee3d7ec7 Update README.md 2016-07-12 22:33:19 -05:00
Andres Rodriguez
4ebc4b1513 Merge pull request #9 from RadeonOpenCompute/from-andres
From andres
2016-05-11 18:40:57 -04:00
2 changed files with 215 additions and 118 deletions

315
README.md
View File

@@ -1,100 +1,211 @@
## Are You Ready to ROCK!
The ROCm Platform delivers on the vision of the Boltzmann Initiative, bringing
new opportunities in GPU Computing Research.
## 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 November 16th, 2015, the Radeon Technology Group rolled out Boltzmann
Initiative with three core foundation elements:
#### 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.
* New Linux(R) Driver and Runtime Stack optimized for HPC & Ultra-scale class
computing,
* Heterogeneous C and C++ compiler which best address the whole system not just
a single device
* HIP acknowledging the need for platform choice when utilizing GPU computing
API
Using our knowledge of the HSA Standards and, more importantly, the HSA 1.1
Runtime we have been able to successfully extended support to the dGPU with
critical features for NUMA class acceleration. 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 for the building of key language support. This support starts with AMDs
FIJI Family of dGPU, but support is planned to expand to include future ASICS.
Our GFX8 GPU's (Fiji & Polaris Family) and GFX9 (Vega) use PCIe Gen 3 and PCIe Atomics.
### The Latest ROCm Platform - ROCm 1.1
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.
* AMD Raven Ridge APU are currently not supported
### 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.1.0 tag
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.1.0)
* [ROCR-Runtime](https://github.com/RadeonOpenCompute/ROCR-Runtime/tree/roc-1.1.0)
* [ROCT-Thunk-Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/roc-1.1.0)
* [HCC compiler](https://github.com/RadeonOpenCompute/hcc/tree/roc-1.1.0)
* [LLVM-AMDGPU-Assembler-Extra](https://github.com/RadeonOpenCompute/LLVM-AMDGPU-Assembler-Extra/tree/roc-1.1.0)
* [ROC-smi](https://github.com/RadeonOpenCompute/ROC-smi/tree/roc-1.1.0)
* [ROCnRDMA](https://github.com/RadeonOpenCompute/ROCnRDMA/tree/roc-1.1.0)
* [HIP](https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/tree/roc-1.1.0)
* [HIP-Examples](https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-Examples/tree/roc-1.1.0)
* [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)
In addition the following mirror repositories that support the HCC compiler are
also available on GitHub, and frozen for the roc-1.1.0 release:
Additionally, the following mirror repositories that support the HCC compiler
are also available on GitHub, and frozen for the rocm-1.7.2 release:
* [llvm](https://github.com/RadeonOpenCompute/llvm/tree/roc-1.1.0)
* [clang](https://github.com/RadeonOpenCompute/clang/tree/roc-1.1.0)
### Installing from AMD ROCm Repositories
AMD is hosting both debian and rpm repositories for the ROCm 1.1 packages. The
packages in both repositories have been signed to ensure package integrity.
Directions for each repository are given below:
* [llvm](https://github.com/RadeonOpenCompute/llvm/tree/roc-1.7.x)
* [ldd](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 platform has been tested on the following operating systems:
* Ubuntu 14.04.04
* Fedora 23
There is experimental support for the following operating systems:
The ROCm 1.7 platform has been tested on the following operating systems:
* Ubuntu 16.04
* Fedora 22
#### Debian repository - apt-get
### 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:
##### First make sure your system is up to date
```shell
sudo apt update
sudo apt dist-upgrade
sudo apt install libnuma-dev
sudo reboot
```
#### Optional: Upgrade to 4.13 kernel
Although not required, it is recommended as of ROCm 1.7.2 that the system's kernel is upgraded to the latest 4.13 version available:
```shell
sudo apt install linux-headers-4.13.0-32-generic linux-image-4.13.0-32-generic linux-image-extra-4.13.0-32-generic linux-signed-image-4.13.0-32-generic
sudo reboot
```
#### 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
##### Add the ROCm apt repository
For Debian based systems, like Ubuntu, configure the Debian ROCm repository as
follows:
```shell
wget -qO - http://packages.amd.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
sudo sh -c 'echo deb [arch=amd64] http://packages.amd.com/rocm/apt/debian/ trusty main > /etc/apt/sources.list.d/rocm.list'
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:
Next, update the apt repository list and install/update the rocm package:
>**Warning**: Before proceeding, make sure to completely
>[uninstall any pre-release ROCm packages](https://github.com/RadeonOpenCompute/ROCm#removing-pre-release-packages):
>[uninstall any previous ROCm package](https://github.com/RadeonOpenCompute/ROCm#removing-pre-release-packages):
```shell
sudo apt-get update
sudo apt-get install rocm
sudo apt update
sudo apt install rocm-dkms
```
Then, make the ROCm kernel your default kernel. If using grub2 as your
bootloader, you can edit the `GRUB_DEFAULT` variable in the following file:
###### Next set your permsions
With move to upstreaming the KFD driver and the support of DKMS, for all Console aka headless user, you will need to add all your users to the 'video" group by setting the Unix permissions
Configure
Ensure that your user account is a member of the "video" group prior to using the ROCm driver. You can find which groups you are a member of with the following command:
```shell
sudo vi /etc/default/grub
sudo update-grub
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
```
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:
No additional steps are required. The rocm-opencl package is now installed with rocm-dkms as a dependency. This includes the development package, rocm-opencl-dev.
###### 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-dev development package execute:
To un-install the entire rocm development package execute:
```shell
sudo apt-get autoremove rocm
sudo apt autoremove rocm-dkms
```
##### Installing development packages for cross compilation
@@ -104,68 +215,51 @@ 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
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
##### Known Issues / Workarounds
######## If you Plan to Run with X11 - we are seeing X freezes under load
ROCm 1.7.2 a kernel parameter noretry has been set to 1 to improve overall system performance. However it has been proven to bring instability to graphics driver shipped with Ubuntu. This is an ongoing issue and we are looking into it.
Before that, please try apply this change by changing noretry bit to 0.
```shell
echo 0 | sudo tee /sys/module/amdkfd/parameters/noretry
```
Files under /sys won't be preserved after reboot so you'll need to do it every time.
One way to keep noretry=0 is to change /etc/modprobe.d/amdkfd.conf and make it be:
options amdkfd noretry=0
Once it's done, run sudo update-initramfs -u. Reboot and verify /sys/module/amdkfd/parameters/noretry stays as 0.
##### 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}')
sudo apt purge libhsakmt
sudo apt purge compute-firmware
sudo apt 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 dnf (yum) repostiory is also available for installation of rpm packages. To configure a
system to use the ROCm rpm directory create the file /etc/yum.repos.d/rocm.repo with
the following contents:
A repository containing rpm packages is currently not available for the ROCm 1.7 release.
```shell
[remote]
name=ROCm Repo
baseurl=http://packages.amd.com/rocm/yum/rpm/
enabled=1
gpgcheck=0
```
Execute the following commands:
```shell
sudo dnf clean all
sudo dnf install rocm
```
As with the debian packages, it is possible to install rocm-dev or rocm-kernel individually.
To uninstall the packages execute:
```shell
sudo dnf remove rocm
```
#### Verify Installation
To verify that the ROCm stack completed successfully you can execute to HSA
vectory\_copy sample application:
```shell
cd /opt/rocm/hsa/sample
make
./vector_copy
```
#### Closed Source Components
#### 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
@@ -174,11 +268,11 @@ made available in the following packages:
* hsa-ext-rocr-dev
### Getting ROCm Source Code
Modifications can be made to the ROCm 1.1 components by modifying the open
### 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.1 manifest file to download the entire ROCm 1.1 source code.
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
@@ -193,9 +287,12 @@ 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.1.0
repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-1.7.2
repo sync
```
These series of commands will pull all of the open source code associated with
the ROCm 1.1 release.
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.

View File

@@ -6,22 +6,22 @@
<remote name="pctools-github"
fetch="http://git@github.com/GPUOpen-ProfessionalCompute-Tools/" />
<default revision="refs/tags/roc-1.1.0"
<default revision="roc-1.7.x"
remote="roc-github"
sync-j="4" />
<project path="llvm" name="llvm" />
<project path="llvm-amdgpu-assembler-extra" name="LLVM-AMDGPU-Assembler-Extra" />
<project path="clang" name="clang" />
<project path="hcc" name="hcc" />
<project path="ROCT-Thunk-Interface" name="ROCT-Thunk-Interface" />
<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="ROCnRDMA" name="ROCnRDMA" />
<project path="rdma-perftest" name="rdma-perftest" />
<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" />
</manifest>