OpenCL-CLHPP icon indicating copy to clipboard operation
OpenCL-CLHPP copied to clipboard

`CommandBufferKhr::finalizeCommandBuffer()` causes link failure

Open jansol opened this issue 1 year ago • 0 comments

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.

jansol avatar May 07 '24 14:05 jansol