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

OpenCL-Header versioning

Open nikhiljnv opened this issue 4 years ago • 1 comments

Currently OpenCL headers are versioned based on the OpenCL spec (1.2, 2.0, 2.2 etc)

Apart from the core and optional core features that we change only with OpenCL version, we often add types and APIs required by KHR extensions in some of the standard headers (e.g. clext.h). Sometimes, the extension might be written on top of 1.2 or 2.0.

Current versioning doesn't allow differentiating between the OpenCL headers before and after such changes. Having finer versioning may help recommend right version of headers users need to use and potentially clarify this dependency in the extension specs.

Filing this issue to discuss pros and cons of adding the finer versioning.

nikhiljnv avatar Jul 14 '20 15:07 nikhiljnv

Linking https://github.com/KhronosGroup/OpenCL-Headers/issues/56

kpet avatar Jul 29 '20 20:07 kpet