Skip to content

Add MAGMA_BLAS_PREFIX for prefixed BLAS/LAPACK symbols#88

Open
jgillis wants to merge 1 commit into
icl-utk-edu:masterfrom
jgillis:blas-prefix
Open

Add MAGMA_BLAS_PREFIX for prefixed BLAS/LAPACK symbols#88
jgillis wants to merge 1 commit into
icl-utk-edu:masterfrom
jgillis:blas-prefix

Conversation

@jgillis

@jgillis jgillis commented Apr 8, 2026

Copy link
Copy Markdown

Summary

  • Adds optional MAGMA_BLAS_PREFIX macro to magma_mangling.h
  • When defined (e.g. -DMAGMA_BLAS_PREFIX=openblas_), all BLAS/LAPACK symbols are prefixed accordingly (dgemm_openblas_dgemm_)
  • Useful when linking against OpenBLAS builds that use SYMBOLPREFIX
  • No change in behavior when MAGMA_BLAS_PREFIX is not defined

Test plan

  • Verified macro expansion: FORTRAN_NAME(dgemm, DGEMM)openblas_dgemm_
  • Clean build and all testers link successfully
  • Numerical tests pass

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant