Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
21aa894
Fix bugs encountered while building with VS 2017 64bit (#39)
SilverCamel Feb 12, 2019
bee421e
Delete LICENSE.txt
Feb 20, 2019
44f384a
Create LICENSE
Feb 20, 2019
d0f452d
switch README from plain text to markdown
bashbaug Mar 26, 2019
e7d9330
Change header license to Apache 2.0 (#53)
Apr 7, 2019
b30c815
Update icd_windows.c (#51)
cos-public Apr 7, 2019
3cb852a
fix compilation with VS2010
Apr 19, 2017
1716c1f
Statically link with VC++ Runtime (#57)
ArturHarasimiuk Apr 10, 2019
66ecca5
Do parameter validation in clGetExtensionFunctionAddress
alycm Apr 11, 2019
7433f2a
Option to allow for dynamic linking with VC++ Runtime (#60)
ArturHarasimiuk May 7, 2019
7d2584c
Create directory tree, fix warnings, cmake improvements (#58)
bashbaug May 7, 2019
880d771
Downstream MinGW fixes
May 8, 2019
89138ca
Windows 10 RS4 support for OpenCL ICD as per MS directive
nikhiljnv May 8, 2019
6894b53
Use QueryAdapter APIs as per MS directives
nikhiljnv May 21, 2019
beb4352
removed non-CMake build files
bashbaug Apr 11, 2019
26a1ca1
fix README typos
bashbaug May 21, 2019
5ca2496
simple travis CI enabling
bashbaug May 7, 2019
25e7faa
basic appveyor enabling
bashbaug May 7, 2019
4adae11
add CI badges for travis-ci and appveyor
bashbaug Jun 11, 2019
467f286
Windows 10 RS4 Support for the OpenCL ICD Loader w/ Build Option (#78)
bashbaug Jul 1, 2019
702226f
Merge pull request #7 from KhronosGroup/master
nikhiljnv Jul 2, 2019
82bda03
initial ICD loader environment variable support (#77)
bashbaug Jul 16, 2019
ea822f0
need to include a lower-case windows.h for cross-compilation
bashbaug Jul 17, 2019
bc9728e
increase loader rev for environment variable support
bashbaug Jul 17, 2019
ebbcd14
Use QueryAdapter APIs as per MS directives
nikhiljnv Jul 12, 2019
e6e30ab
Install to standard locations using GNUInstallDirs
candrews Jul 30, 2019
84c7740
Update nikhiljnv:new_para_virtual with Khronos master
nikhiljnv Aug 9, 2019
bee550f
Merge branch 'KhronosGroup-master' into new_para_virtual
nikhiljnv Aug 9, 2019
f5bf89e
Minor fixes to para-virtualization support
nikhiljnv Aug 12, 2019
3ad1189
Fix variable naming, array size and cleanup paths.
nikhiljnv Aug 22, 2019
ea04c7d
Add return value checks for adapterAdd.
nikhiljnv Sep 3, 2019
fa993e4
Free adapter names and add check for DXGI interface queries
nikhiljnv Sep 10, 2019
6c03f8b
added checks for high integrity for Windows secure_getenv
bashbaug Aug 27, 2019
49d7c9e
Minor fixes to cleanup Windows para-virtualization changes
nikhiljnv Sep 18, 2019
0787274
Merge pull request #10 from KhronosGroup/master
nikhiljnv Sep 19, 2019
b57177d
Bump up OpenCL ICD Loader version
nikhiljnv Sep 19, 2019
e8b332d
Update status based on DXGK and HKR enumearation
nikhiljnv Sep 24, 2019
53f2054
Refactor ICD loader windows header files
nikhiljnv Oct 4, 2019
978b4b3
Use QueryAdapter APIs as per MS directives
nikhiljnv Jul 12, 2019
59185fd
Update branch with Khronos GitHub Master branch.
nikhiljnv Oct 10, 2019
0b3756e
Remove link-time dependency on WDK
nikhiljnv Oct 30, 2019
b20d7b0
Update nikhiljnv:master with Khronos:master
nikhiljnv Jan 10, 2020
1deed30
Merge branch 'origin/para-virtual-fixes'
nikhiljnv Jan 10, 2020
8f7f56d
Fix indentation with previous changes
nikhiljnv Jan 21, 2020
cd14f8c
Use API function pointer and dispatch table definitions from the CL h…
kpet Jul 2, 2019
37173c4
Fix to allow windows ICD detection to detect AMD ICD drivers
johngladp Feb 7, 2020
1c3a10a
Incorporating PR refinement requests so REG_MULTI_SZ is handled in th…
johngladp Feb 10, 2020
c7fda8b
Corrected inconsistent indentation
johngladp Feb 17, 2020
9acc3fc
Make ret_val and ret_mem local to the functions in which they are used.
ormshaw Mar 27, 2020
6d0b214
Add a path separator to OCL_ICD_VENDORS
kbenzie Oct 9, 2019
47f05fa
Add support for OpenCLOn12 ICD (#103)
jenatali Apr 16, 2020
fe09ad1
remove WDK dependency for OpenCL ICD loader (#102)
bashbaug Apr 23, 2020
23475bd
Add support for OpenCL 3.0 Provisional (#108)
alycm May 7, 2020
bb98ad9
add an option to disable support for OpenCLOn12
bashbaug Apr 30, 2020
c276388
expand ifdefs to remove include file dependencies
bashbaug Apr 30, 2020
bbdf079
runtimeobject.lib should be lower case
bashbaug May 1, 2020
e546244
Update and modernize some aspects of CMake (#92)
kbenzie Jun 25, 2020
c7622e6
add clSetContextDestructorCallback
bashbaug Jul 24, 2020
862eebe
correctly pass user_data to destructor callbacks
bashbaug Jul 29, 2020
b697982
Generate the ICD Loader Dispatch Functions (#114)
bashbaug Sep 8, 2020
1d12be0
skip testing except for icd loader project (#117)
bashbaug Sep 8, 2020
98ca71f
Define CL_USE_DEPRECATED_OPENCL_2_{1,2}_APIS (#122)
jrprice Sep 8, 2020
97f0eb5
Merge branch 'master' into master
nikhiljnv Sep 28, 2020
2df1cbf
Revert "Merge branch 'master' into master"
bashbaug Sep 28, 2020
6e02d35
remove CMake option for OpenCL 3.0 provisional (#121)
bashbaug Oct 6, 2020
4fdf7bc
Minor fixes to Windows build to improve header include order resilien…
jenatali Oct 9, 2020
b3b4833
Add force fPIC option
tpboudreau May 25, 2020
460112e
Switch from Travis CI to Github Actions (#132)
jrprice Dec 4, 2020
34ef50a
Add missing includes (#131)
jrprice Dec 4, 2020
a4289e2
Layers (#125)
Kerilk Dec 10, 2020
1d5315c
Add C99 flag as last commit added some c99 variable declarations (#135)
JohnKesapidesARM Dec 11, 2020
8631587
Fixed generators to better account for the lack of return value of cl…
Kerilk Feb 5, 2021
1cacbf8
Removed cl_icd_layer.h as it is now in the OpenCL-Headers repository …
Kerilk Feb 13, 2021
99df8d8
Removed uneeded lines in Cmakelists.txt file. (#141)
Kerilk Feb 17, 2021
5f82496
Replace uses of CL_EXT_{PRE,SUF}FIX* with CL_API_{PRE,SUF}FIX* (#142)
kpet Feb 22, 2021
98768d3
Remove cl_gl_ext.h includes (#144)
jrprice Mar 12, 2021
b68b15d
do not add the API suffix macro to function definitions (#124)
bashbaug Mar 12, 2021
9b5e384
Change OCL_ICD_LAYERS to OPENCL_LAYERS to conform to the specificatio…
Kerilk Mar 30, 2021
99dec45
update ICD loader generation scripts to handle empty arguments (#150)
bashbaug Jun 21, 2021
2f24758
Fix compiler warnings (#148)
johnplate Jun 30, 2021
4e65bd5
declare ret_val global variable static (#147)
bashbaug Jun 30, 2021
3756f5f
Remove const warning (#158)
keryell Dec 2, 2021
d08d0e6
Pedantic (#159)
Kerilk Dec 15, 2021
169f05d
Fix: stat was done on an incomplete file path. (#161)
Kerilk Dec 16, 2021
b7a648b
OpenCL-SDK base changes (#160)
MathiasMagnus Jan 19, 2022
cd7d07c
Renamed BUILD_SHARED_LIBS option (#163)
LeonBrands Jan 27, 2022
c8490f9
Match OpenCL-Docs default branch rename (#166)
alycm Mar 2, 2022
5d9177e
Enable trace by OCL_ICD_ENABLE_TRACE environment variable (#168)
cdai2 Apr 20, 2022
aec3952
Fix Windows compilation error for Trace mechanism (#171)
cdai2 Apr 25, 2022
b5c4285
update README badges to reflect CI changes (#172)
bashbaug May 4, 2022
792682a
Fix handle validation macros (#174)
Kerilk May 5, 2022
eaf36a6
Windows CI fix (#176)
Kerilk May 17, 2022
5b280f6
Install PDBs (#169)
MathiasMagnus May 20, 2022
7072cf2
Fix Windows enumeration for non-WDDM devices via HKR (#178)
nikhiljnv Jun 14, 2022
2e35ae7
Move khrIcdInitializeTrace call to platform initialization so it is o…
Kerilk Sep 7, 2022
7305673
System layer implementation. (#154)
Kerilk Sep 13, 2022
4aa6837
Rewrite CLOn12 loader in C (#179)
jenatali Sep 13, 2022
c5a6e01
add FreeBSD define to icd_platform.h (#185)
bashbaug Oct 4, 2022
349f335
fix an incorrect KHR_ICD_ASSERT #193
bashbaug Nov 10, 2022
96c536e
OpenCL ICD Loader Fixes for mingw (#186)
bashbaug Nov 11, 2022
e009e32
fix MacOS CI (#198)
bashbaug Nov 11, 2022
f573575
clean up usage of CL_API_ENTRY (#189)
bashbaug Nov 12, 2022
8f51613
dynamically load functions for OpenCLon12 (#197)
bashbaug Nov 14, 2022
551a74d
Implement clGetICDLoaderInfoOCLICD. (#188)
Kerilk Nov 22, 2022
9a3e962
do not use CMake defines for ICD loader name and vendor strings (#203)
bashbaug Nov 25, 2022
6ceb5d2
Added OpenCL.pc file. (#190)
Kerilk Jan 10, 2023
217a177
Fixes #204 with support for compiling with -fvisibility=hidden (#205)
gmeeker Jan 19, 2023
2cde5d0
Add first prototype of cllayerinfo. (#175)
Kerilk Feb 2, 2023
b0f1c3c
Fix VERSIONINFO for llvm-rc (#206)
yeah-its-gloria Feb 22, 2023
ece9144
Update path to pkg-config header file. (#207)
Kerilk Feb 22, 2023
f558a17
Ci fix 2 (#215)
Kerilk Apr 7, 2023
ba84239
add the CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES compile definitio…
bashbaug Apr 7, 2023
617580b
add extension API function pointer checks (#196)
bashbaug Apr 7, 2023
b1bce7c
replaces calls to LoadLibrary with explicit calls to LoadLibraryA (#216)
bashbaug Apr 11, 2023
ee329ed
Remove cl_icdl_private.h as it is now unneeded. (#210)
Kerilk Apr 25, 2023
920ecb6
Update generated code to reflect recent xml updates. (#218)
Kerilk May 3, 2023
66bdb19
Add function prototype for clGetICDLoaderInfoOCLICD using function ty…
Kerilk May 16, 2023
0b8be9f
CTS cache (#221)
Kerilk May 18, 2023
229410f
add const to fix compiler warnings (#222)
bashbaug Jun 2, 2023
5383646
Explicitly mark compareLayer as __cdecl (#231)
jenatali Feb 7, 2024
932d826
Fix memory leaks in loader_test. (#233)
Kerilk Feb 8, 2024
861b68b
Fix still reachable leaks in loader tests. (#234)
Kerilk Feb 15, 2024
c2cbdb3
Updated CI, added CD (#226)
mfep Jun 18, 2024
3d27d7c
Disable gcc-11 on macos (#237)
Kerilk Aug 12, 2024
804b6f0
Fix Wcast-qual warning. (#241)
haonanya1 Sep 26, 2024
5907ac1
Temporarily disable PPA builds (#243)
MathiasMagnus Oct 23, 2024
9228024
Fix Wcast-qual warning on windows (#244)
e-kud Oct 28, 2024
d615f1b
use two-step casting to silence incompatible function type warning (#…
bashbaug Mar 9, 2025
d547426
feat: add compatibility support for QNX Neutrino (#248)
xi-guo-0 Mar 9, 2025
86448ce
cl_khr_icd 2.0.0 loader managed dispatch (#238)
Kerilk Apr 1, 2025
ddf6c70
cl_khr_icd2.h: include cl header (#251)
rjodinchr Apr 25, 2025
9482bbe
Fix nameless union initialization. (#254)
Kerilk Jun 17, 2025
ad770a1
remove cl_khr_icd2.h from CMake sources (#255)
bashbaug Jul 22, 2025
3ad4c1c
Address anonymous union initialization when extensions are disabled.
Kerilk Jul 28, 2025
7e05c99
Test builds without C extensions.
Kerilk Jul 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
764 changes: 764 additions & 0 deletions .github/workflows/presubmit.yml

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Release

on:
push:
tags:
- "v*"
env:
distroseries: jammy

jobs:
release:
if: false
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Add PPA
run: sudo add-apt-repository -y ppa:${{ vars.PPA }}

- name: Install prerequisites
run: sudo apt-get update -qq && sudo apt-get install -y cmake devscripts debhelper-compat=13 opencl-c-headers

- name: Import GPG signing key
run: echo "${{ secrets.DEB_SIGNING_KEY }}" | gpg --import

- name: Download and extract source code
run: |
wget -O $GITHUB_WORKSPACE/source.orig.tar.gz https://github.com/$GITHUB_REPOSITORY/archive/refs/tags/$GITHUB_REF_NAME.tar.gz
tar -xvf $GITHUB_WORKSPACE/source.orig.tar.gz

- name: Configure project out-of-tree
run: cmake
-S $GITHUB_WORKSPACE/OpenCL-ICD-Loader*
-B $GITHUB_WORKSPACE/../build
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_INSTALL_PREFIX=/usr
-D BUILD_TESTING=OFF
-D LATEST_RELEASE_VERSION=$GITHUB_REF_NAME
-D CPACK_DEBIAN_PACKAGE_MAINTAINER="${{ vars.DEB_MAINTAINER }}"
-D DEBIAN_VERSION_SUFFIX=${{ vars.DEB_VERSION_SUFFIX }}

- name: Generate packaging scripts
run: cmake
-D CMAKE_CACHE_PATH=$GITHUB_WORKSPACE/../build/CMakeCache.txt
-D ORIG_ARCHIVE=$GITHUB_WORKSPACE/source.orig.tar.gz
-D LATEST_RELEASE_VERSION=$GITHUB_REF_NAME
-D DEBIAN_DISTROSERIES=${{ env.distroseries }}
-D DEBIAN_PACKAGE_MAINTAINER="${{ vars.DEB_MAINTAINER }}"
-D DEBIAN_VERSION_SUFFIX=${{ vars.DEB_VERSION_SUFFIX }}
-P $GITHUB_WORKSPACE/OpenCL-ICD-Loader*/cmake/DebSourcePkg.cmake

- name: Build source package
run: |
cd $GITHUB_WORKSPACE/OpenCL-ICD-Loader*/
debuild -S -sa

- name: Build binary package
run: cpack
-G DEB
-C Release
-B $GITHUB_WORKSPACE/../build
--config $GITHUB_WORKSPACE/../build/CPackConfig.cmake

# The following step does not depend on the previous step "Build binary package",
# but if the binary package build is unsuccessful, it is better not to push the
# source packages to the PPA
- name: Push source package to the PPA
run: dput ppa:${{ vars.PPA }} $GITHUB_WORKSPACE/*source.changes

- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/../build/*.deb
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# Build dir
[Bb]uild/

# Install dir
[Ii]nstall/

# External dir
[Ee]xternal/

# Package dir
[Pp]ackage[-_\s\d]*/

# Tackage dir
[T]esting/

# inc subdirs
inc/CL/
inc/EGL/
inc/KHR/
build/

# Visual Studio Code
.vscode
Loading
Loading