We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GA_Sync is equivalent to ARMCI_Barrier on the world group. One can optimize ARMCI_Barrier better than ARMCI_AllFence + pnga_msg_sync.
ARMCI_Barrier
ARMCI_AllFence
pnga_msg_sync
We should also add ARMCI_GroupBarrier that is equivalent to ARMCI_GroupFence + pnga_msg_pgroup_sync.
ARMCI_GroupBarrier
ARMCI_GroupFence
pnga_msg_pgroup_sync
void pnga_sync() { GA_Internal_Threadsafe_Lock(); #ifdef CHECK_MA Integer status; #endif #ifdef USE_ARMCI_GROUP_FENCE if (GA_Default_Proc_Group == -1) { int grp_id = (int)GA_Default_Proc_Group; ARMCI_GroupFence(&grp_id); pnga_msg_sync(); } else { int grp_id = (Integer)GA_Default_Proc_Group; pnga_pgroup_sync(grp_id); } #else if (GA_Default_Proc_Group == -1) { ARMCI_AllFence(); // HERE pnga_msg_sync(); if(GA_fence_set)bzero(fence_array,(int)GAnproc); GA_fence_set=0; } else { Integer grp_id = (Integer)GA_Default_Proc_Group; pnga_pgroup_sync(grp_id); } #endif #ifdef CHECK_MA status = MA_verify_allocator_stuff(); #endif GA_Internal_Threadsafe_Unlock(); }
The text was updated successfully, but these errors were encountered:
jeffhammond
No branches or pull requests
GA_Sync is equivalent to ARMCI_Barrier on the world group. One can optimize
ARMCI_Barrier
better thanARMCI_AllFence
+pnga_msg_sync
.We should also add
ARMCI_GroupBarrier
that is equivalent toARMCI_GroupFence
+pnga_msg_pgroup_sync
.The text was updated successfully, but these errors were encountered: