Compare commits

...

4 Commits

Author SHA1 Message Date
Andres Rodriguez
612b9f879d default: restore HIP projects to roc-1.0.0 tag
The source release for the HIP project is now complete, and tags have
been created.

Change-Id: I53d24327f18015e6809f2eb2717faa06e8a858c0
2016-04-25 15:01:58 -04:00
Andres Rodriguez
fb0e80bf96 Temporarily use HIP master branch until release tag is available
Change-Id: I3feb99e71bfbd284a31113e566310f13f8d89fff
2016-04-21 12:16:33 -04:00
Andres Rodriguez
12e868930d Use LLVM mirror projects
Currently using specific revisions until tags are created.

Change-Id: Ia4bbf6bc79bf7525f0ede3c88e5ec29f980cc0d9
2016-04-21 12:12:13 -04:00
Andres Rodriguez
e60b599626 readme: make KFD default kernel and verify installation
Add note to the user to set the KFD kernel as the default kernel. Also
add a mechanism for verifying that the installation completed
successfully.

Change-Id: I9cc19d7e040c3f0d70f19909a50afa779415bf56
2016-04-19 17:57:31 -04:00
2 changed files with 30 additions and 14 deletions

View File

@@ -29,14 +29,14 @@ of the following GitHub repositories:
* [ROCK-Kernel-Driver](https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/tree/dev)
* [ROCR-Runtime](https://github.com/RadeonOpenCompute/ROCR-Runtime/tree/dev)
* [ROCT-Thunk-Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/dev)
* [HCC compiler](https://github.com/RadeonOpenCompute/hcc/tree/roc-1.0)
* [HCC compiler](https://github.com/RadeonOpenCompute/hcc/tree/roc-1.0.x)
* [LLVM-AMDGPU-Assembler-Extra](https://github.com/RadeonOpenCompute/LLVM-AMDGPU-Assembler-Extra/tree/master)
In addition the following mirror repositories that support the HCC compiler are
also available on GitHub, and frozen for the roc-1.0.0 release:
* [llvm](https://github.com/RadeonOpenCompute/llvm/tree/roc-1.0)
* [clang](https://github.com/RadeonOpenCompute/clang/tree/roc-1.0)
* [llvm](https://github.com/RadeonOpenCompute/llvm/tree/roc-1.0.x)
* [clang](https://github.com/RadeonOpenCompute/clang/tree/roc-1.0.x)
### Installing from AMD ROCm Repositories
AMD is hosting both debian and rpm repositories for the ROCm 1.0 packages. The
@@ -64,6 +64,17 @@ Next, update the apt-get repository list and install/update the rocm package:
sudo apt-get update
sudo apt-get install rocm
```
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:
```shell
sudo vi /etc/default/grub
sudo update-grub
```
Once complete, reboot your system.
We recommend you [verify your installation](https://github.com/RadeonOpenCompute/ROCm#verify-installation) to make sure everything completed successfully.
##### Un-install
To un-install the entire rocm-dev development package execute:
@@ -92,12 +103,7 @@ need to be manually un-installed:
```shell
sudo apt-get purge libhsakmt
```
```shell
for package in $(dpkg -l | grep 'kfd\|rocm' | grep linux | grep -v libc | awk '{print $2}');do
echo "=== Removing $package ==="
sudo apt-get purge $package
done
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.
@@ -106,6 +112,17 @@ If possible, we would recommend starting with a fresh OS install.
The RPM repository is still under construction but will be available soon.
#### 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
The ROCm platform relies on a few closed source components to provide legacy
functionality like HSAIL finalization and debugging/profiling support. These

View File

@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="llvm.org"
fetch="http://llvm.org/git/" />
<remote name="roc-github"
fetch="https://github.com/RadeonOpenCompute/" />
<remote name="pctools-github"
@@ -12,8 +9,10 @@
remote="roc-github"
sync-j="4" />
<project path="llvm" remote="llvm.org" name="llvm" revision="master" />
<project path="llvm/tools/lld" remote="llvm.org" name="lld" revision="master" />
<project path="llvm" name="llvm" revision="roc-1.0.x" />
<project path="llvm-amdgpu-assembler-extra"
name="LLVM-AMDGPU-Assembler-Extra"
revision="7187c4f8e6f7bea5c9dcaf8a7010e1fa657d728e" />
<project path="hcc" name="hcc" />
<project path="ROCT-Thunk-Interface" name="ROCT-Thunk-Interface" />
<project path="ROCR-Runtime" name="ROCR-Runtime" />