GEStreamAllocationSummaryGetHcclFollowedStreamNums
Applicable Products
Ascend 950PR /Ascend 950DT : supportedAtlas A3 training products /Atlas A3 inference products : supportedAtlas A2 training products /Atlas A2 inference products : supportedAtlas 200I/500 A2 inference products : not supportedAtlas inference products : supportedAtlas training products : supported
Header File/Library File
- Header file: #include <ge/ge_graph_compile_summary.h>
- Library file: libge_compiler.so
Function Usage
Obtains the actual number of physical streams of the communication secondary stream corresponding to the root graph and subgraphs.
Prototype
1 | ge::Status GEStreamAllocationSummaryGetHcclFollowedStreamNums(const ge::CompiledGraphSummary &compiled_graph_summary, std::map<AscendString, std::vector<int64_t>> &graph_to_hccl_followed_stream_nums); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
compiled_graph_summary |
Input |
Brief information about the graph build result. |
graph_to_hccl_followed_stream_nums |
Output |
A value in Map format. The key is the graph name. The value is the vector indicating the actual number of physical streams of the communication secondary stream. The index indicates the logical stream ID. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
ge::Status |
|
Restrictions
None
Parent topic: Basic Data Structures and APIs of Graphs