Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
Go to file
dongwonk fb993d6107 limited range and internal 32bit allocators with correct base and size
correct add 1 to the current size, gpuRange as gpuRange
only specifies the end address of the pool, not the actual
size, which causes alignment issue of all the offsets of
allocated objects. Also, a page was added in the beginning
of the limited range memory pool to avoid the base address
of it to be 0x0 that is interpreted as invalid address by
heap allocator (This makes the size reduced by pageSize)

Internal 32bit allocator is also initialized in proper way
with corrected base address.

v2: added 'givenMemoryManagerLimimedRangeAllocator' unit
    test
v3: adjust size to be freed when DrmMemoryManager instance
    is destroyed to 4GB
v4: - defined external 32bit allocator for limited Range
    allocation case.
    - softpinning object on the correct GPU address

Change-Id: Idaa0206d4133a1476cceb5a48ff8c8528742c76a
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-17 19:19:52 +01:00
common Add isFieldValid helper method 2019-01-29 09:58:46 +01:00
documentation Documentation regarding CL_CACHE 2019-02-06 10:04:30 +01:00
elf Update copyright headers 2018-09-20 18:02:35 +02:00
manifests Manifest update 2019-02-14 08:33:12 +01:00
offline_compiler Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC. 2019-02-08 12:06:04 +01:00
public Add option to disable caching for a resource 2019-01-17 13:32:36 +01:00
runtime limited range and internal 32bit allocators with correct base and size 2019-02-17 19:19:52 +01:00
scripts Revert "igc revision update" 2019-01-23 13:08:54 +01:00
third_party Create AubManager with product family in parameter 2019-02-12 14:01:23 +01:00
unit_tests limited range and internal 32bit allocators with correct base and size 2019-02-17 19:19:52 +01:00
.clang-format Revert "clang-format: set ColumnLimit to 135" 2018-08-29 17:45:08 +02: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
.travis.yml add team email address for notifications from CI systems 2018-08-28 12:06:11 +02:00
CMakeLists.txt Re-enable AubStream if AUB_STREAM_DIR set. 2019-02-14 14:11:33 +01:00
Jenkinsfile Support the EnableLocalMemory debug variable in CSR. 2019-02-12 13:09:23 +01:00
LICENSE added license file 2018-02-15 11:05:43 +01:00
README.md Documentation: add link to OpenCL on Linux guide 2019-02-14 13:16:13 +01:00
common_macros.cmake Update copyright headers 2018-09-20 18:02:35 +02:00
config.h.in Update copyright headers 2018-09-20 18:02:35 +02:00
driver_version.h.in Update copyright headers 2018-09-20 18:02:35 +02:00
igc.opencl.h.in Update copyright headers 2018-09-20 18:02:35 +02:00
lib_names.h.in remove unused entries from lib_names.h 2018-10-16 16:12:15 +02:00
os_release_info.cmake Update copyright headers 2018-09-20 18:02:35 +02:00
package.cmake package: adding ocloc package 2019-01-21 15:40:52 +01:00
platforms.cmake CMake: set preferred platform only when that platform is supported 2018-11-27 17:18:47 +01:00
shippable.yml use intel-gmmlib-* packages to build Neo on Ubuntu 2018-11-16 08:48:40 +01:00
ubsan.supp Rename offline compiler: cloc -> ocloc 2018-11-21 13:31:47 +01:00
version.cmake Update copyright headers 2018-09-20 18:02:35 +02: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 License.

You may obtain a copy of the License at: https://opensource.org/licenses/MIT

Install

Compiled .deb packages are provided on the release page: https://github.com/intel/compute-runtime/releases

Dependencies

Optional dependencies

Below packages are needed to enable cl_intel_va_api_media_sharing extension

Supported Platforms

  • Intel Core Processors with Gen8 graphics devices (formerly Broadwell) - OpenCL 2.1
  • Intel Core Processors with Gen9 graphics devices (formerly Skylake, Kaby Lake, Coffee Lake) - OpenCL 2.1
  • Intel Atom Processors with Gen9 graphics devices (formerly Apollo Lake, Gemini Lake) - OpenCL 1.2

Linking applications

When building applications, they should link with ICD loader library (ocl-icd). Directly linking to the runtime library (igdrcl) is not supported.

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.

See also

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