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

Refactor: modify arguments of gemm and gemv #4238

Closed
wants to merge 1 commit into from

Conversation

OldDriver233
Copy link

Some function calls(especially those calling LAPACK functions) have extremely long list of arguments, impairing readability and improves the risk of writing the wrong code. Therefore, structs are used to pass arguments for better readability.

@OldDriver233 OldDriver233 marked this pull request as ready for review May 26, 2024 13:04
@mohanchen mohanchen requested a review from haozhihan May 27, 2024 01:03
@haozhihan
Copy link
Collaborator

First of all, thank you very much for your contribution and PR.

I noticed that this way of writing uses a feature of C++20 called designated initializers.

Since using an overly advanced version of syntax features will lead to reduced software compatibility, ABACUS currently does not plan to introduce syntax features after C++11.

So, thank you very much for your PR, but unfortunately such modifications cannot be merged into the main branch at present.

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.

2 participants