File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if(TARGET OpenCL)
6
6
endif ()
7
7
8
8
project (OpenCL-ICD-Loader
9
- VERSION 1.2
9
+ VERSION 1.2.3
10
10
LANGUAGES C)
11
11
12
12
find_package (Threads REQUIRED)
@@ -106,8 +106,11 @@ endif()
106
106
107
107
add_library (OpenCL::OpenCL ALIAS OpenCL)
108
108
109
+ # We could eventually use OpenCL-ICD-Loader_VERSION or PROJECT_VERSION here instead of a hardcoded 1.2.
109
110
set_target_properties (OpenCL PROPERTIES VERSION "1.2" SOVERSION "1" )
110
111
112
+ target_compile_definitions (OpenCL PRIVATE OPENCL_ICD_LOADER_VERSION_REV=${PROJECT_VERSION_PATCH} )
113
+
111
114
if (WIN32 )
112
115
target_link_libraries (OpenCL PRIVATE cfgmgr32.lib runtimeobject.lib)
113
116
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ void khrIcdInitializeTrace(void)
43
43
{
44
44
khrEnableTrace = 1 ;
45
45
}
46
+ KHR_ICD_TRACE ("OpenCL ICD Loader Revision %u\n" , OPENCL_ICD_LOADER_VERSION_REV );
46
47
}
47
48
48
49
// entrypoint to initialize the ICD and add all vendors
Original file line number Diff line number Diff line change 20
20
21
21
#define OPENCL_ICD_LOADER_VERSION_MAJOR 3
22
22
#define OPENCL_ICD_LOADER_VERSION_MINOR 0
23
- #define OPENCL_ICD_LOADER_VERSION_REV 3
24
23
25
24
#ifdef RC_INVOKED
26
25
You can’t perform that action at this time.
0 commit comments