Skip to content

Commit 8b0ea36

Browse files
Documentation: Refactor instllation instructions
Resolves: NEO-4022 Change-Id: I72482af269a88a306b9c8ab7fb9a2708aa3fcb82 Signed-off-by: Adam Cetnerowski <[email protected]>
1 parent f5f75be commit 8b0ea36

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,28 @@ The Intel(R) Graphics Compute Runtime for OpenCL(TM) is distributed under the MI
1515

1616
You may obtain a copy of the License at: https://opensource.org/licenses/MIT
1717

18-
## Installation
19-
.deb packages for Ubuntu are provided on the [release page](https://github.com/intel/compute-runtime/releases)
18+
## Installation Options
19+
20+
To allow Neo accessing GPU device make sure user has permissions to files in /dev/dri directory. In first step /dev/dri/renderD* files are opened, if it fails, /dev/dri/card* files are used.
21+
22+
Under Ubuntu* or Centos* user must be in video group. In Fedora* all users by default have access to /dev/dri/renderD* files, but have to be in video group to access /dev/dri/card* files.
23+
24+
### Via system package manager
25+
26+
NEO is available for installation on a variety of Linux distributions and can be installed via the distro's package manager.
27+
28+
For example on Ubuntu* 19.04, 19.10:
29+
30+
```
31+
apt-get install intel-opencl-icd
32+
```
33+
34+
Procedures for other [distrubtions](https://github.com/intel/compute-runtime/blob/master/documentation/Neo_in_distributions.md).
35+
36+
### Manual download
37+
38+
.deb packages for Ubuntu are provided along with installation instructions and Release Notes on the [release page](https://github.com/intel/compute-runtime/releases)
2039

21-
Other installation procedures are described [here](https://github.com/intel/compute-runtime/blob/master/documentation/Neo_in_distributions.md)
2240

2341
## Dependencies
2442

@@ -40,12 +58,16 @@ Below packages are needed to enable [cl_intel_va_api_media_sharing](https://www.
4058
* Intel Core Processors with Gen11 graphics devices (formerly Ice Lake) - OpenCL 2.1
4159
* Intel Core Processors with Gen12 graphics devices (formerly Tiger Lake) - OpenCL 2.1
4260

43-
4461
## Linking applications
4562

4663
When building applications, they should link with ICD loader library (ocl-icd).
4764
Directly linking to the runtime library (igdrcl) is not supported.
4865

66+
## Tutorial applications
67+
68+
The [Intel(R) GPU Compute Samples repository](https://github.com/intel/compute-samples/blob/master/compute_samples/applications/usm_hello_world/README.md)
69+
has sample source code to demonstrate features of Intel(R) Graphics Compute Runtime for OpenCL(TM) Driver.
70+
4971
## How to provide feedback
5072

5173
By default, please submit an issue using native github.com interface: https://github.com/intel/compute-runtime/issues.

documentation/Neo_in_distributions.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ Example for Fedora* 30
9898
docker run -it --device /dev/dri:/dev/dri --rm docker.io/intelopencl/intel-opencl:fedora-30-copr clinfo
9999
```
100100

101-
## Additional configuration
102-
103-
To allow Neo accessing GPU device make sure user has permissions to files in /dev/dri directory.
104-
In first step /dev/dri/renderD* files are opened, if it fails, /dev/dri/card* files are used.
105-
106-
Under Ubuntu* or Centos* user must be in video group.
107-
In Fedora* all users by default have access to /dev/dri/renderD* files,
108-
but have to be in video group to access /dev/dri/card* files.
109-
110101
## Building and installation
111102

112103
* [Ubuntu*](https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Ubuntu.md)

0 commit comments

Comments
 (0)