mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Change-Id: I5c752e7c2fc1f0fdbed0d4f93b8349cfde5b2c39 Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
1.6 KiB
1.6 KiB
NEO in Linux distributions
Arch Linux*
pacman -S intel-compute-runtime
Centos*
yum install yum-plugin-copr
yum copr enable jdanecki/intel-opencl
yum install intel-opencl
Clear Linux
swupd bundle-add computer-vision-basic
Exherbo* Linux
cave resolve --execute intel-compute-runtime
Fedora* 30 and rawhide
dnf install dnf-plugins-core
dnf copr enable jdanecki/intel-opencl
dnf install intel-opencl
Gentoo*
emerge intel-neo
Ubuntu* 16.04 and 18.04 ppa
add-apt-repository ppa:intel-opencl/intel-opencl
apt-get update
apt-get install intel-opencl
Ubuntu* 19.04
apt-get install intel-opencl-icd
Neo in docker containers
Docker images are provided in intel-opencl repository.
Example for Fedora* 30
docker run -it --device /dev/dri:/dev/dri --rm docker.io/intelopencl/intel-opencl:fedora-30-copr clinfo
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.
Building and installation
(*) Other names and brands may be claimed as property of others.