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

DRAFT: Remove runtime type selection #187

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mattmartineau
Copy link
Collaborator

@mattmartineau mattmartineau commented Jul 6, 2022

Managing runtime selection of the supported types in AmgX makes the code more complex but doesn't seem to benefit users significantly from our discussions so far.

This is a draft pull request that will eventually remove all runtime type selection and instead allow users to choose type at compile time.

@mattmartineau
Copy link
Collaborator Author

Yes that's exactly correct - the current version is just hacked but it shows the desired outcome of having only compile time type selection. CMake flags like you suggested will be necessary.

Thanks

@marsaev
Copy link
Collaborator

marsaev commented Aug 2, 2022

Do you think having C++ interface would make sense?

@mattmartineau
Copy link
Collaborator Author

If you mean generally for AmgX then, yes, I definitely do - we have been considering it for a while.

@mattmartineau mattmartineau self-assigned this Nov 7, 2022
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