2019-04-19 18:09:55 +08:00
|
|
|
# NEO in Linux distributions
|
2019-04-18 22:26:03 +08:00
|
|
|
|
|
|
|
## Arch Linux*
|
|
|
|
|
|
|
|
```
|
|
|
|
pacman -S intel-compute-runtime
|
|
|
|
```
|
|
|
|
|
2019-09-17 16:46:19 +08:00
|
|
|
## Centos* 7, Red Hat Enterprise Linux* 7
|
2019-08-01 22:09:13 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
yum install yum-plugin-copr
|
|
|
|
yum copr enable jdanecki/intel-opencl
|
|
|
|
yum install intel-opencl
|
|
|
|
```
|
|
|
|
|
2019-04-18 22:26:03 +08:00
|
|
|
## Clear Linux
|
|
|
|
|
|
|
|
```
|
2019-04-24 23:54:31 +08:00
|
|
|
swupd bundle-add computer-vision-basic
|
2019-04-18 22:26:03 +08:00
|
|
|
```
|
|
|
|
|
2019-09-11 01:17:39 +08:00
|
|
|
## Exherbo Linux*
|
2019-07-22 23:11:00 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
cave resolve --execute intel-compute-runtime
|
|
|
|
```
|
|
|
|
|
2019-08-30 20:07:46 +08:00
|
|
|
## Fedora* 30, 31, rawhide
|
2019-04-18 22:26:03 +08:00
|
|
|
|
|
|
|
```
|
2019-08-01 22:09:13 +08:00
|
|
|
dnf install dnf-plugins-core
|
2019-07-24 20:58:09 +08:00
|
|
|
dnf copr enable jdanecki/intel-opencl
|
|
|
|
dnf install intel-opencl
|
|
|
|
```
|
|
|
|
|
2019-08-01 22:09:13 +08:00
|
|
|
## Gentoo*
|
2019-07-24 20:58:09 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
emerge intel-neo
|
2019-04-24 23:54:31 +08:00
|
|
|
```
|
|
|
|
|
2019-09-11 01:17:39 +08:00
|
|
|
## PLD Linux*
|
|
|
|
|
|
|
|
```
|
|
|
|
ipoldek install intel-gmmlib intel-graphics-compiler intel-compute-runtime
|
|
|
|
```
|
|
|
|
|
2019-07-24 20:58:09 +08:00
|
|
|
## Ubuntu* 16.04 and 18.04 ppa
|
2019-04-18 22:26:03 +08:00
|
|
|
|
2019-04-24 23:54:31 +08:00
|
|
|
```
|
|
|
|
add-apt-repository ppa:intel-opencl/intel-opencl
|
|
|
|
apt-get update
|
|
|
|
apt-get install intel-opencl
|
2019-04-18 22:26:03 +08:00
|
|
|
```
|
|
|
|
|
2019-07-24 20:58:09 +08:00
|
|
|
## Ubuntu* 19.04
|
2019-07-25 17:33:49 +08:00
|
|
|
|
|
|
|
```
|
2019-07-24 20:58:09 +08:00
|
|
|
apt-get install intel-opencl-icd
|
2019-07-25 17:33:49 +08:00
|
|
|
```
|
|
|
|
|
2019-07-30 21:07:26 +08:00
|
|
|
## Neo in docker containers
|
|
|
|
|
2019-08-02 14:52:13 +08:00
|
|
|
Docker images are provided in [intel-opencl](https://hub.docker.com/r/intelopencl/intel-opencl) repository.
|
2019-07-30 21:07:26 +08:00
|
|
|
|
2019-08-01 22:09:13 +08:00
|
|
|
Example for Fedora* 30
|
2019-07-30 21:07:26 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
docker run -it --device /dev/dri:/dev/dri --rm docker.io/intelopencl/intel-opencl:fedora-30-copr clinfo
|
|
|
|
```
|
|
|
|
|
2019-06-07 21:12:29 +08:00
|
|
|
## Additional configuration
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2019-05-24 22:46:27 +08:00
|
|
|
## Building and installation
|
|
|
|
|
|
|
|
* [Ubuntu* 16.04](https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Ubuntu.md)
|
|
|
|
* [Centos* 7](https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Centos.md)
|
|
|
|
|
2019-04-18 22:26:03 +08:00
|
|
|
(*) Other names and brands may be claimed as property of others.
|