Fix some C++ style comments in C code
This commit was SVN r962.
Этот коммит содержится в:
родитель
5f71a8e395
Коммит
0454bd7cc2
@ -46,12 +46,12 @@ static inline int mca_pml_teg_send_request_start(
|
||||
size_t first_fragment_size = ptl->ptl_first_frag_size;
|
||||
int flags, rc;
|
||||
|
||||
// start the first fragment
|
||||
/* start the first fragment */
|
||||
if(req->super.req_length <= first_fragment_size) {
|
||||
first_fragment_size = req->super.req_length;
|
||||
flags = (req->req_send_mode == MCA_PML_BASE_SEND_SYNCHRONOUS) ? MCA_PTL_FLAGS_ACK_MATCHED : 0;
|
||||
} else {
|
||||
// require match for first fragment of a multi-fragment message or if synchronous send
|
||||
/* require match for first fragment of a multi-fragment message or if synchronous send */
|
||||
flags = MCA_PTL_FLAGS_ACK_MATCHED;
|
||||
}
|
||||
|
||||
|
@ -309,7 +309,6 @@ static mca_ptl_base_recv_request_t *mca_ptl_base_check_wild_receives_for_match(
|
||||
break;
|
||||
}
|
||||
}
|
||||
//
|
||||
|
||||
return return_match;
|
||||
}
|
||||
|
@ -109,7 +109,7 @@ int MPI_Group_range_excl(MPI_Group group, int n_triplets, int ranges[][3],
|
||||
elements_int_list[index] = new_group_size;
|
||||
index += stride;
|
||||
new_group_size++;
|
||||
} // end while loop
|
||||
} /* end while loop */
|
||||
|
||||
} else {
|
||||
/* first_rank == last_rank */
|
||||
|
@ -109,9 +109,9 @@ int MPI_Group_range_incl(MPI_Group group, int n_triplets, int ranges[][3],
|
||||
elements_int_list[index] = new_group_size;
|
||||
index += stride;
|
||||
new_group_size++;
|
||||
} // end while loop
|
||||
} /* end while loop */
|
||||
|
||||
} else { // first_rank == last_rank
|
||||
} else { /* first_rank == last_rank */
|
||||
|
||||
index = first_rank;
|
||||
if (elements_int_list[index] != -1) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user