Skip to content

Commit

Permalink
readme: refer to ROCm project for binary packages
Browse files Browse the repository at this point in the history
Remove instructions on downloading packages from the ROCK github
project. Refer users to the ROCm project for access to packages.amd.com

Change-Id: Ib3ef7180da59f1fedea9f513d52a98ad1c33a4ab
Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.com>
  • Loading branch information
Andres Rodriguez authored and Andres Rodriguez committed Apr 18, 2016
1 parent 745fa65 commit c58e9bc
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
### AMD Radeon OpenCompute Kernel driver

* Please see packages/ folder for binary install packages

### Installation and Configuration guide
### AMD Radeon Open Compute Kernel driver

#### What's New in this tree ?

Expand All @@ -11,16 +7,10 @@
* multiple GPU support
* host memory allocations are shared between GPUs

#### Known issues in this tree

* Segfault on GPU access to unmapped memory not implemented on dGPU

#### Package Contents

The packages/ folder contains packages for Ubuntu 14.04 and Fedora 22

The kernel image is built from a source tree based on the 4.1 upstream
release plus :
release plus:

* Features in the HSA kernel driver ("amdkfd") that are not yet
upstreamed to the mainline Linux kernel.
Expand Down Expand Up @@ -60,37 +50,23 @@ dGPU Config:

#### Installing and configuring the kernel

NOTE: We are aware that our current binary distribution mechanism is inadequate.
This is an area where we have a lot of room for improvement and we'll be focusing
some of our efforts in delivering a better user experience (and also cleaner source
without binaries mixed in).

* Downloading the kernel binaries from the repo
`git clone https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver.git`

* Go to the top of the repo:
`cd ROCK-Kernel-Driver`

* Configure udev to allow any user to access /dev/kfd. As root, use a text
editor to create /etc/udev/rules.d/kfd.rules containing one line:
KERNEL=="kfd", MODE="0666", Or you could use the following command:
`echo "KERNEL==\"kfd\", MODE=\"0666\"" | sudo tee /etc/udev/rules.d/kfd.rules`

* For Ubuntu, install the kernel and libhsakmt packages using:
`sudo dpkg -i packages/ubuntu/*.deb`
> **NOTE:** Binary packages are no longer part of this git repository. Please
> refer to the [ROCm project](https://github.com/RadeonOpenCompute/ROCm/wiki)
> for instructions on configuring the AMD apt/yum package server
* For Fedora, install the kernel and libhsakmt packages using:
`sudo rpm -i packages/fedora/*.rpm`
#### Config files for building the kernel

* Reboot the system to install the new kernel and enable the HSA kernel driver:
`sudo reboot`
The configuration used to build our kernel can be re-created by running:
`make rock-rel_defconfig`

This config is based on the Ubuntu 14.04 build patches by Canonical.

##### Obtaining kernel and libhsakmt source code

* Source code used to build the kernel is in this repo. Source code to
build libhsakmt is in the ROCT-Thunk-Interface repository:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface
build libhsakmt is in the
[ROCT-Thunk-Interface](https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface)
repository

###LICENSE

Expand Down

0 comments on commit c58e9bc

Please sign in to comment.