Add function to get information about a library that is loaded #167
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It can be useful to get information about the underlying BLAS library that is being used to capture its version, and also which dynamic architecture is being used (for libraries that provide that information).
This is a bit of a mess implementation wise, because every library provide information differently, and with different APIs. This function outputs a single string that contains the library information (independent of how/if the library actually provides it).
This is done as a separate lookup function instead of going in the library info struct to preserve the API/ABI of those elements. In the future, this can be exposed through the Julia BLAS/LBT module and included in the printing of the LBT config.
I am raising this as a draft right now because there are no tests yet, so I still need to add those.