-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMake] oneMKL version macros #538
Labels
API
A request to add/change/fix/improve the API
Comments
My only thought is that we might follow Intel MKL with the version being a number:
|
This is being discussed in uxlfoundation/oneAPI-spec#561 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
There is currently no way to find the version of oneMKL interfaces from the headers. oneMKL interfaces should provide version macros.
This suggestion comes from a GROMACS PR - https://gitlab.com/gromacs/gromacs/-/merge_requests/4252#note_2000153975
Problem statement
The behaviour and features of oneMKL change depending on version. Whilst the version of oneMKL is discoverable from the CMake, it is not discoverable from source including oneMKL Interfaces. Consequently, it is difficult to enable or disable code according to version.
Preferred solution
@al42and suggests:
This is (helpfully) different from the macros exported by Intel oneMKL.
The text was updated successfully, but these errors were encountered: