Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
Go to file
Mrozek, Michal 41f0ac3019 Check if we do not access outside of array.
Change-Id: I3357b745d36398ad52777054f64a7915278c0463
2018-01-17 09:33:57 +01:00
elf Initial commit 2017-12-21 00:45:38 +01:00
manifests Command streamers should use device default engine type 2018-01-16 22:37:44 +01:00
offline_compiler Initial commit 2017-12-21 00:45:38 +01:00
public Initial commit 2017-12-21 00:45:38 +01:00
runtime Check if we do not access outside of array. 2018-01-17 09:33:57 +01:00
unit_tests Check if we do not access outside of array. 2018-01-17 09:33:57 +01:00
.clang-format Initial commit 2017-12-21 00:45:38 +01:00
.clang-tidy Initial commit 2017-12-21 00:45:38 +01:00
.ctags Initial commit 2017-12-21 00:45:38 +01:00
.gitattributes Initial commit 2017-12-21 00:45:38 +01:00
.gitignore Initial commit 2017-12-21 00:45:38 +01:00
CMakeLists.txt refactor cmake to better detect and use instrumentation 2018-01-17 00:07:10 +01:00
Jenkinsfile Add support for batched dispatch to userspace AUBs 2018-01-12 15:40:56 +01:00
README.md Readme.md update 2018-01-16 21:21:59 +01:00
config.h.in Initial commit 2017-12-21 00:45:38 +01:00
package.cmake Initial commit 2017-12-21 00:45:38 +01:00
platforms.cmake Some minor fixes: 2018-01-10 12:56:40 +01:00
ubsan.supp Initial commit 2017-12-21 00:45:38 +01:00

README.md

Intel(R) Graphics Compute Runtime for OpenCL(TM)

Introduction

The Intel(R) Graphics Compute Runtime for OpenCL(TM) is a open source project to converge Intel's development efforts on OpenCL(TM) compute stacks supporting the GEN graphics hardware architecture.

Please refer to http://01.org/compute-runtime for additional details regarding Intel's motivation and intentions wrt OpenCL support in the open source.

License

The Intel(R) Graphics Compute Runtime for OpenCL(TM) is distributed under the MIT.

You may obtain a copy of the License at:

https://opensource.org/licenses/MIT

Dependencies

GmmLib - https://github.com/intel/gmmlib
Intel Graphics Compiler - https://github.com/intel/intel-graphics-compiler
Google Test v1.7.0 - https://github.com/google/googletest
Google Mock v1.7.0 - https://github.com/google/googlemock
Khronos OpenCL Headers - https://github.com/KhronosGroup/OpenCL-Headers
LibDRM - https://anongit.freedesktop.org/git/mesa/drm.git

Building

  1. Download all dependencies and create workspace folder as below:
	workspace
	  |- clang_source
	  |- common_clang
	  |- llvm_patches
	  |- llvm_source
	  |- gmmlib                 https://github.com/intel/gmmlib
	  |- gmock                  https://github.com/google/googlemock
	  |- gtest                  https://github.com/google/googletest
	  |- igc                    https://github.com/intel/intel-graphics-compiler
	  |- khronos                https://github.com/KhronosGroup/OpenCL-Headers
	  |- libdrm                 https://anongit.freedesktop.org/git/mesa/drm.git
	  |- neo                    https://github.com/intel/compute-runtime
  1. In your workspace create folder where you will build. For example:
mkdir build
  1. Build complete driver using commands:
cd build

cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo

make -j`nproc` package

Install

To install OpenCL driver please use deb package generated during build

Supported Platforms

Intel Core Processors supporting Gen8 graphics devices - OpenCL 2.0
Intel Core Processors supporting Gen9 graphics devices - OpenCL 2.1
Intel Atom Processors supporting Gen9 graphics devices - OpenCL 1.2

How to provide feedback

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

How to contribute

Create a pull request on github.com with your patch. Make sure your change is cleanly building and passing ULTs. A maintainer will contact you if there are questions or concerns.

Known Issues and Limitations

OpenCL compliance of a driver built from open-source components should not be assumed by default. Intel will clearly designate / tag specific builds to indicate production quality including formal compliance. Other builds should be considered experimental.

The driver has the following functional delta compared to previously released drivers:

Generic extensions

  • cl_khr_mipmap
  • cl_khr_mipmap_writes
  • cl_khr_priority_hints
  • cl_khr_throttle_hints
  • cl_khr_fp64

Preview extensions

  • cl_intelx_video_enhancement
  • cl_intelx_video_enhancement_camera_pipeline
  • cl_intelx_video_enhancement_color_pipeline
  • cl_intelx_hevc_pak

Other capabilities

  • OpenGL sharing with MESA driver
  • CL_MEM_SVM_FINE_GRAIN_BUFFER (if using unpatched i915)

(*) Other names and brands my be claimed as property of others.