File tree 2 files changed +4
-2
lines changed
2 files changed +4
-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.5
10
10
LANGUAGES C)
11
11
12
12
find_package (Threads REQUIRED)
@@ -119,6 +119,7 @@ endif()
119
119
120
120
add_library (OpenCL::OpenCL ALIAS OpenCL)
121
121
122
+ # We could eventually use OpenCL-ICD-Loader_VERSION or PROJECT_VERSION here instead of a hardcoded 1.2.
122
123
set_target_properties (OpenCL PROPERTIES VERSION "1.2" SOVERSION "1" )
123
124
124
125
if (WIN32 )
@@ -156,7 +157,7 @@ set (OPENCL_COMPILE_DEFINITIONS
156
157
CL_TARGET_OPENCL_VERSION=300
157
158
OPENCL_ICD_LOADER_VERSION_MAJOR=3
158
159
OPENCL_ICD_LOADER_VERSION_MINOR=0
159
- OPENCL_ICD_LOADER_VERSION_REV=5
160
+ OPENCL_ICD_LOADER_VERSION_REV=${PROJECT_VERSION_PATCH}
160
161
$<$<BOOL :${ENABLE_OPENCL_LAYERS} >:CL_ENABLE_LAYERS>
161
162
)
162
163
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
You can’t perform that action at this time.
0 commit comments