Beignet OpenCL on Intel SkyLake

Beignet is an open source implementation of the OpenCL specification - a generic compute oriented API. This code base contains the code to run OpenCL programs on Intel GPUs which basically defines and implements the OpenCL host functions required to initialize the device, create the command queues, the kernels and the programs and run them on the GPU.

Installation

Ubuntu 15.10

Requirements:

  • Kernel version 4.3.3+. You can find already prepared .deb
wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.3-wily/linux-headers-4.3.3-040303_4.3.3-040303.201512150130_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.3-wily/linux-headers-4.3.3-040303-generic_4.3.3-040303.201512150130_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.3-wily/linux-image-4.3.3-040303-generic_4.3.3-040303.201512150130_amd64.deb

sudo dpkg -i linux-headers-4.3*.deb linux-image-4.3*.deb

  • libdrm version 2.4.66+
http://dri.freedesktop.org/libdrm/libdrm-2.4.66.tar.gz

  • sudo apt-get install cmake pkg-config python git ocl-icd-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-3.5-dev clang-3.5 libclang-3.5-dev libtinfo-dev libedit-dev zlib1g-dev

Reboot the system with the newly installed kernel.

Download and install the beignet master:

git clone git://anongit.freedesktop.org/beignet

cd beignet

mkdir build

cd build

cmake ..

make -j 8

sudo make install

-- FelicePantaleo - 2016-01-17

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2016-01-17 - FelicePantaleo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback