Closed staticfloat closed 2 months ago
We'll need this version of LBT backported to 1.11 and 1.10. cc @KristofferC
This isn't in Kristoffer's court yet; I need to finish this LBT release, push it through Yggdrasil, open a PR to Julia master, then tag it for backporting. :)
Yes, perhaps tagging him was premature - but it would be nice to get this into 1.11 and hence the heads up.
MKL v2024 has ILP64-suffixed symbols, but the suffix applied to FORTRAN symbols (
64
, mappingdgemm_
todgemm_64
) is different from the suffix applied to non-FORTRAN symbols (_64
, mappingcblas_dgemm
tocblas_dgemm_64
). This wreaks havoc with LBT, which assumes that all symbols undergo the same name transformation. To work around this, we add a fallback path to our symbol forwarding routine; if a symbol does not exist in a library, we look for the same symbol but with an underscore in front of the symbol name. Because this all happens only after we have already foundisamax_
anddpotrf_
inautodetect_symbol_suffix()
, we have some measure of assurance that we will not be blindly guessing ridiculous symbol names.