The network structure for all_gather.
More...
#include <network.h>
|
static BruckMap | Construct (int rank, int num_machines) |
| Create the object of bruck map.
|
|
|
int | k |
| The communication times for one all gather operation.
|
|
std::vector< int > | in_ranks |
| in_ranks[i] means the incomming rank on i-th communication
|
|
std::vector< int > | out_ranks |
| out_ranks[i] means the out rank on i-th communication
|
|
The network structure for all_gather.
◆ Construct()
BruckMap LightGBM::BruckMap::Construct |
( |
int |
rank, |
|
|
int |
num_machines |
|
) |
| |
|
static |
Create the object of bruck map.
- Parameters
-
rank | Rank of this machine |
num_machines | The total number of machines |
- Returns
- The object of bruck map
The documentation for this class was generated from the following files:
- External/LightGBM_2.2.3/LightGBM-2.2.3/include/LightGBM/network.h
- External/LightGBM_2.2.3/LightGBM-2.2.3/src/network/linker_topo.cpp