In a project I am using
find_package(BLAS REQUIRED)
to detect BLAS.
Is there a way to tell which implementation of BLAS was found after this?
According to the documentation BLA_VENDOR
can be used to require a certain implementation, but it doesn't report which one was found.
Unfortunatelly I need to know which BLAS was found because different implementations have subtle differences in their interfaces, for example MKL uses zdotu
with 6 arguments rather than 5 (first is the pointer to the result value).