Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if(TARGET OpenCL)
endif()

project (OpenCL-ICD-Loader
VERSION 3.0
VERSION 1.0.7
LANGUAGES C)

find_package (Threads REQUIRED)
Expand Down Expand Up @@ -123,6 +123,7 @@ endif()

add_library (OpenCL::OpenCL ALIAS OpenCL)

# We could eventually use OpenCL-ICD-Loader_VERSION or PROJECT_VERSION here instead of a hardcoded 1.0.0.
set_target_properties (OpenCL PROPERTIES VERSION 1\.0\.0 SOVERSION "1")

if (WIN32)
Expand Down Expand Up @@ -161,7 +162,7 @@ set (OPENCL_COMPILE_DEFINITIONS
CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES
OPENCL_ICD_LOADER_VERSION_MAJOR=3
OPENCL_ICD_LOADER_VERSION_MINOR=0
OPENCL_ICD_LOADER_VERSION_REV=7
OPENCL_ICD_LOADER_VERSION_REV=${PROJECT_VERSION_PATCH}
$<$<BOOL:${ENABLE_OPENCL_LAYERS}>:CL_ENABLE_LAYERS>
$<$<BOOL:${ENABLE_OPENCL_LOADER_MANAGED_DISPATCH}>:CL_ENABLE_LOADER_MANAGED_DISPATCH>
)
Expand Down
1 change: 1 addition & 0 deletions loader/icd.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ void khrIcdInitializeTrace(void)
{
khrEnableTrace = 1;
}
KHR_ICD_TRACE("OpenCL ICD Loader Revision %u\n", OPENCL_ICD_LOADER_VERSION_REV);
}

// entrypoint to initialize the ICD and add all vendors
Expand Down