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

[DO NOT MERGE] Comparison of main + original #1

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

Conversation

JamieJQuinn
Copy link
Collaborator

This PR is to compare and discuss the matrix-free, stencil version of the original HPCG

@JamieJQuinn
Copy link
Collaborator Author

Is there a specific reason you've chosen to treat edges/corners/MPI domain edges with separate loops rather than using ghost points?

@dcaseGH
Copy link

dcaseGH commented May 23, 2023

The reason that edges etc were done in this way, rather than multiplying by zero for e.g., was to replicate the floating point operations exactly. So there are the same number of multiplications, and no reference to precomputed values or changing the indexing of the vectors.
I'm not suggesting that this is what should be done in a real code - it was just to reproduce the HPCG calculation, but implemented in a different way.

@JamieJQuinn
Copy link
Collaborator Author

To what end? Are we wanting to compare the performance of the matrix and matrix-free versions that precisely?

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