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

Reorder initialization of MPI collective presets #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions api/ucg_mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,20 @@ ucg_coll_barrier_init(int ign, ucg_group_h group, ucg_coll_h *coll_p)
.dtype = _dtype

#define UCG_COLL_PARAMS_BUF_O(_buffer, _count, _dtype) \
UCG_COLL_PARAMS_BUF_R(_buffer, _count, _dtype), \
.op = op
.op = op, \
UCG_COLL_PARAMS_BUF_R(_buffer, _count, _dtype)

#define UCG_COLL_PARAMS_BUF_V(_buffer, _counts, _dtype, _displs) \
.displs = _displs, \
.buffer = _buffer, \
.counts = _counts, \
.dtype = _dtype, \
.displs = _displs
.dtype = _dtype

#define UCG_COLL_PARAMS_BUF_W(_buffer, _counts, _dtypes, _displs) \
.displs = _displs, \
.buffer = _buffer, \
.counts = _counts, \
.dtypes = _dtypes, \
.displs = _displs
.dtypes = _dtypes

#define UCG_COLL_INIT(_lname, _uname, _stype, _sargs, _rtype, _rargs,...)\
static UCS_F_ALWAYS_INLINE ucs_status_t ucg_coll_##_lname##_init(__VA_ARGS__, \
Expand Down