[FeatureRequest] Library function returning the version
Created by: TomTheBear
Is your feature request related to a problem? Please describe.
When building interfaces on top of the LIKWID library, it is beneficial to check the library to include/exclude features.
Describe the solution you'd like
A function in the library and likwid.h
that returns the major and minor version. The bugfix number is not required as there shouldn't be new features in bugfix releases.
Describe alternatives you've considered
Interfaces that rely on the likwid.h
header can use the LIKWID_VERSION
. But this is not easily usable with languages like Julia which dynamically open the library.
Additional context