OpenCL CLHPP headers don't have any version information inside them. E.g. the package itself is released as v2024.10.24, but how can I extract this information from headers?
Sometimes, we need to write conditional code which depends on availability of some C++ OpenCL API, but it's impossible to do it, because headers don't have version information.
OpenCL CLHPP headers don't have any version information inside them. E.g. the package itself is released as v2024.10.24, but how can I extract this information from headers?
Sometimes, we need to write conditional code which depends on availability of some C++ OpenCL API, but it's impossible to do it, because headers don't have version information.