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

use ARMCI not MA mem in GA_Transpose #211

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

jeffhammond
Copy link
Member

GA_Transpose uses ga_malloc, which defaults to using MA memory. this means that GA requires MA to be initialized. this changes GA_Transpose to use ARMCI memory.

if ARMCI_Malloc_local is much slower than ga_malloc, this might be noticeable (because the block is called in the loop) but that seems unlikely at this point.

it is trivial to revert to the old implementation by undefining the macro (GA_TRANSPOSE_USE_ARMCI_MEM) that enables this.

fix issue #163

Signed-off-by: Jeff Hammond jeff.science@gmail.com

GA_Transpose uses ga_malloc, which defaults to using
MA memory.  this means that GA requires MA to be initialized.
this changes GA_Transpose to use ARMCI memory.

if ARMCI_Malloc_local is much slower than ga_malloc, this might
be noticeable (because the block is called in the loop)
but that seems unlikely at this point.

it is trivial to revert to the old implementation by undefining
the macro (GA_TRANSPOSE_USE_ARMCI_MEM) that enables this.

fix issue GlobalArrays#163

Signed-off-by: Jeff Hammond <jeff.science@gmail.com>
@jeffhammond jeffhammond changed the base branch from master to develop March 20, 2021 16:33
@jeffhammond
Copy link
Member Author

If there are no objections, I'd like to merge this. It is a very local change.

@jeffhammond
Copy link
Member Author

Ping

@bjpalmer bjpalmer merged commit 660561e into GlobalArrays:develop Nov 18, 2022
@jeffhammond jeffhammond deleted the fix-issue-163 branch November 18, 2022 20:22
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