GEStreamAllocationSummaryGetLogicalStreamIds
产品支持情况
产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
头文件/库文件
- 头文件:#include <ge/ge_graph_compile_summary.h>
- 库文件:libge_compiler.so
功能说明
获取根图和子图的逻辑流ID。
函数原型
1 | ge::Status GEStreamAllocationSummaryGetLogicalStreamIds(const ge::CompiledGraphSummary &compiled_graph_summary, std::map<AscendString, std::vector<int64_t>> &graph_to_logical_stream_ids) |
参数说明
参数 |
输入/输出 |
说明 |
|---|---|---|
compiled_graph_summary |
输入 |
图编译后的概要信息。 |
graph_to_logical_stream_ids |
输出 |
map格式,key为图名称,value为逻辑流ID的向量,其中索引为逻辑流ID。 |
返回值说明
参数名 |
类型 |
说明 |
|---|---|---|
- |
ge::Status |
|
约束说明
无
父主题: C接口