Skip to content

A minimal userspace driver for general purpose computation on Intel GPUs

License

Notifications You must be signed in to change notification settings

dprekel/gpgpu-intel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPGPU-Intel

When finished, this will be a very simple userspace driver for general purpose computation on Intel Integrated Graphics GPUs. It is based on reverse engineering Intels NEO Compute Runtime for OpenCL and extracts its core functionality. While Intels driver is about 200000 lines of C++, this will be around 2000 lines.

Dependencies

Make sure you are using a Linux distribution on a machine with Intel Core CPU (with integrated graphics) and i915 kernel driver.

This driver links against the Intel Graphics Compiler (IGC). On Ubuntu it can be installed with

$ sudo apt install libigc-dev libigc-tools libigc1 libigdfcl-dev libigdfcl1

Installation

This driver can be installed with

$ cd driver
$ make
$ sudo make install

This creates a shared library and installs it into /usr/local/lib. Before linking any application against it, you may have to set your LD_LIBRARY_PATH:

export "$LD_LIBRARY_PATH:/usr/local"

About

A minimal userspace driver for general purpose computation on Intel GPUs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages