opened
jdinan
username_0
This is a WIP that allocates an array of STXs, with the goal of sharing them based on the thread model and OpenSHMEM context options. It introduces parameters for the maximum array size, as well as the heuristic/algorithm for sharing STXs. Infrastructure is in place for further optimization (based on tid and a private/shared context), and I would appreciate any feedback you can offer before going further. Thanks!
More efficient STX control/sharing
issue
created
jdinan
username_0
@username_1 Please review the changes I added in 02c5dd5 to resolve the merge conflict with master.
comment
created
jdinan
username_0
Ready to merge.  👍
comment
created
davidozog
username_1
@username_0, did you mean commit https://github.com/Sandia-OpenSHMEM/SOS/pull/551/commits/3cf6537db5e349275356df783df67085329fc8e3, https://github.com/Sandia-OpenSHMEM/SOS/commit/02c5dd559b673d8e8b7f5cabc8ffa247776c3461, or both?   Regardless, I'm actually just wondering if there's anything new in addition to the `stx_idx = -1` initialization and the check that it's `>=0` in `ctx_destroy`, which looks good.
comment
created
jdinan
username_0
Those are the only new changes.
comment