mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 14:48:06 -05:00
Compare commits
4 Commits
rocm-7.1.1
...
roc-1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
612b9f879d | ||
|
|
fb0e80bf96 | ||
|
|
12e868930d | ||
|
|
e60b599626 |
35
README.md
35
README.md
@@ -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
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user