Fix few typos.
Этот коммит содержится в:
родитель
2e00e335b9
Коммит
fb6ecdfd18
@ -54,7 +54,7 @@ int mca_topo_base_dist_graph_distribute(mca_topo_base_module_t* module,
|
||||
* In addition we compute 3 arrays (that are allocated in one go):
|
||||
* - cnt: the number of elements for a peer
|
||||
* - pos: the position of the first element for a peer
|
||||
* - idx: temporaru indexes and message count after the reduce.
|
||||
* - idx: temporary indexes and message count after the reduce.
|
||||
*/
|
||||
cnt = (mca_topo_base_dist_graph_elem_t*)calloc(3 * csize, sizeof(mca_topo_base_dist_graph_elem_t));
|
||||
if( NULL == cnt ) {
|
||||
@ -118,8 +118,8 @@ int mca_topo_base_dist_graph_distribute(mca_topo_base_module_t* module,
|
||||
comm->c_coll.coll_allreduce_module);
|
||||
/**
|
||||
* At this point in the indexes array we have:
|
||||
* - indexes[0] total number of in edges
|
||||
* - indexes[1] total number of out edges
|
||||
* - idx[0].in total number of IN edges
|
||||
* - idx[0].out total number of OUT edges
|
||||
*/
|
||||
topo = OBJ_NEW(mca_topo_base_comm_dist_graph_2_2_0_t);
|
||||
if( NULL == topo ) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user