Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linalg: refactor blas/lapack modules #913

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

jalvesz
Copy link
Contributor

@jalvesz jalvesz commented Dec 31, 2024

Major refactoring of the blas/lapack modules into submodules for improved build speed and potentially better organization of procedures. This PR follows #908

  • The reference files and refactoring script are currently within the legacy folder which should be removed before merging.
  • Two folders have been added: blas and lapack to organize all required files within.
  • The splitting is managed by the legacy\refactor_blaslapack_subm.py script which contains 3 dictionaries: blas_groups, lapack_groups, lapack_subgroups. The first two list the procedures in groups following lapacks documentation with some extra arbitrary splitting in order to improve parallel build. Given that the use of submodules requires a header module to declare the procedures signature, putting all lapack procedures into a single header implies a stall in the build process while building this single header. The dictionary lapack_subgroups proposes to split into modules which define macro-groups for the submodules.

@jalvesz jalvesz marked this pull request as ready for review December 31, 2024 11:10
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