platform/upstream/OpenCL-ICD-Loader.git
6 years agoStatic analysis fixes.
Grzegorz Wawiorko [Thu, 10 Aug 2017 13:07:04 +0000 (15:07 +0200)]
Static analysis fixes.

7 years agoAdded OpenCL Universal Driver Support for Win10 RS3 (#21)
Ofir Cohen [Tue, 3 Oct 2017 14:37:14 +0000 (17:37 +0300)]
Added OpenCL Universal Driver Support for Win10 RS3 (#21)

Starting from Windows 10 RS3+ Graphics Drivers are no longer allowed to
write HKLM entries, and hence the current registry key:
HKLM\SOFTWARE\Khronos\OpenCL\Vendors

Is no longer applicable to graphics drivers for registering their ICD.
Instead, graphics drivers can write to either of the 2 registry keys
below:
1) Display Adapter HKR
2) Software Components HKR

Graphics Drivers (starting from RS3) have dedicated component INF files and are
referenced via the CopyINF directive and/or (optional) "INF AddComponent directive".

Every such component, e.g. OpenCL instance (ICD), is assigned a unique device
instance ID (e.g. 0000, 0001, etc) under the "Software Component" GUID and use it to
store the path to its ICD.

Therefore we enumerate ICDs in the following places (and also in the following order):
1) Display Adapters HKRs (using the display adapter GUID)
2) Software Component HKRs (using the CM_* APIs to traverse the device tree)
3) The usual "Vendors" registry key (see above)

Corresponding ICD extension updates were made with KhronosGroup/OpenCL-Registry#30.

7 years agoAllow building ICD loader as a CMake subproject.
Laurent Morichetti [Thu, 18 May 2017 17:05:46 +0000 (10:05 -0700)]
Allow building ICD loader as a CMake subproject.

Tweaked CMakeLists.txt to make it possible to build OpenCL-ICD-Loader as a
subproject.

7 years agoUpdate Windows DLL version to 2.2 (#19)
John Poole [Tue, 6 Jun 2017 12:58:16 +0000 (08:58 -0400)]
Update Windows DLL version to 2.2 (#19)

7 years agoAdd OpenCL 2.2 API to ICD Loader.
bashbaug [Tue, 6 Dec 2016 18:34:24 +0000 (10:34 -0800)]
Add OpenCL 2.2 API to ICD Loader.

8 years agocorrect the case that properties is NULL for clCreateContextFromType (#8)
guoyejun [Tue, 13 Sep 2016 14:52:48 +0000 (22:52 +0800)]
correct the case that properties is NULL for clCreateContextFromType (#8)

Handle properties==NULL in clCreateContextFromType

According to spec, for function clCreateContextFromType, properties can also be
NULL in which case the platform that is selected is implementation-defined,
while the current code returns CL_INVALID_PLATFORM.

8 years agoMerge pull request #1 from KhronosGroup/remove-egl-dependency
Kedar Patil [Tue, 31 May 2016 15:53:56 +0000 (21:23 +0530)]
Merge pull request #1 from KhronosGroup/remove-egl-dependency

Remove dependency on EGL/KHR headers from README.

8 years agoUpdating the ICD loader license.
Kedar Patil [Tue, 31 May 2016 15:28:18 +0000 (20:58 +0530)]
Updating the ICD loader license.

The license text was approved by the OpenCL Working Group on May 24, 2016.

8 years agoRemove dependency on EGL/KHR headers from README
James Price [Wed, 10 Feb 2016 19:34:09 +0000 (19:34 +0000)]
Remove dependency on EGL/KHR headers from README

8 years agoAdding sources for OpenCL 2.1 ICD Loader.
Kedar Patil [Thu, 12 Nov 2015 18:33:50 +0000 (00:03 +0530)]
Adding sources for OpenCL 2.1 ICD Loader.