Skip to content

Conversation

@imciner2
Copy link
Contributor

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.

There is no way to get a version directly from Apple Accelerate
(separate from the LAPACK version), but we can at least detect the
backend is accelerate by looking for an Apple-only symbol.
@imciner2 imciner2 added the enhancement New feature or request label Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants