KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
375 stars 130 forks source link

`CommandBufferKhr::finalizeCommandBuffer()` causes link failure #292

Open jansol opened 6 months ago

jansol commented 6 months ago

Looks like its trying to invoke the function as ::clFinalizeCommandBufferKHR, but since that is an extension fn it is not found by the build time linker when linking against an ICD loader.

Given that the other member functions in the CommandBufferKhr class appear to be using symbols like pfn_clCreateCommandBufferKHR which are fetched via clGetExtensionFunctionAddressForPlatform, this looks like a trivial oversight.