Skip to content
Snippets Groups Projects
Commit 2d120ade authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Break long lines.

parent 350c1a8b
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,8 @@ xt_exchanger_irecv_isend_packed_s_exchange(
requests = requests_auto;
buf_ofs = buf_ofs_auto;
} else {
requests = xmalloc((num_tx+(num_tx&1)) * sizeof (*requests) + (num_tx+1) * sizeof (*buf_ofs));
requests = xmalloc((num_tx+(num_tx&1)) * sizeof (*requests)
+ (num_tx+1) * sizeof (*buf_ofs));
buf_ofs = (void *)(requests + (num_tx+(num_tx&1)));
}
......
......@@ -421,8 +421,8 @@ xt_exchanger_neigh_alltoall_get_MPI_Datatype(Xt_exchanger exchanger,
for (size_t i = 0; i < nmsg; ++i) {
if (ranks[i] == rank) {
if (do_dup)
xt_mpi_call(MPI_Type_dup(exchanger_na->datatypes[i+ofs], &datatype_copy),
team_share->nb_comm);
xt_mpi_call(MPI_Type_dup(exchanger_na->datatypes[i+ofs],
&datatype_copy), team_share->nb_comm);
else
datatype_copy = exchanger_na->datatypes[i+ofs];
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment