已合并
feat(opbase): 补齐 AddConfigByArch 架构与 SoC 映射并同步双语文档 #1115
esok11创建于 13 天前
feat(opbase): 补齐 AddConfigByArch 架构与 SoC 映射并同步双语文档 #1115
已合并
共 3 个文件变更+25-2
| @@ -12,8 +12,16 @@ A single call registers all SoC versions corresponding to the architecture, with | |||
| 12 | | DAV_2002 | ascend310p | | 12 | | DAV_2002 | ascend310p | |
| 13 | | DAV_2201 | ascend910b, ascend910_93 | | 13 | | DAV_2201 | ascend910b, ascend910_93 | |
| 14 | | DAV_3002 | ascend310b | | 14 | | DAV_3002 | ascend310b | |
| 15 | +| DAV_3003 | kirinx90 | | ||
| 16 | +| DAV_3004 | ascend031 | | ||
| 15 | | DAV_3102 | ascend610lite | | 17 | | DAV_3102 | ascend610lite | |
| 16 | -| DAV_3510 | ascend950 | | 18 | +| DAV_3113 | kirin9030 | |
| 19 | +| DAV_3505 | ascend035 | | ||
| 20 | +| DAV_3510 | ascend950, ascend350 | | ||
| 21 | +| DAV_5102 | mc62, ascend630 | | ||
| 22 | +| DAV_5162 | ascend5162 | | ||
| 23 | +| DAV_9201 | ascend960dt | | ||
| 24 | +| DAV_9202 | ascend960pr | | ||
| 17 | 25 | ||
| 18 | ## Prototype | 26 | ## Prototype |
| 19 | 27 | ||
| @@ -12,8 +12,16 @@ | |||
| 12 | | DAV_2002 | ascend310p | | 12 | | DAV_2002 | ascend310p | |
| 13 | | DAV_2201 | ascend910b、ascend910_93 | | 13 | | DAV_2201 | ascend910b、ascend910_93 | |
| 14 | | DAV_3002 | ascend310b | | 14 | | DAV_3002 | ascend310b | |
| 15 | +| DAV_3003 | kirinx90 | | ||
| 16 | +| DAV_3004 | ascend031 | | ||
| 15 | | DAV_3102 | ascend610lite | | 17 | | DAV_3102 | ascend610lite | |
| 16 | -| DAV_3510 | ascend950 | | 18 | +| DAV_3113 | kirin9030 | |
| 19 | +| DAV_3505 | ascend035 | | ||
| 20 | +| DAV_3510 | ascend950、ascend350 | | ||
| 21 | +| DAV_5102 | mc62、ascend630 | | ||
| 22 | +| DAV_5162 | ascend5162 | | ||
| 23 | +| DAV_9201 | ascend960dt | | ||
| 24 | +| DAV_9202 | ascend960pr | | ||
| 17 | 25 | ||
| 18 | ## 函数原型 | 26 | ## 函数原型 |
| 19 | 27 | ||
| @@ -26,9 +26,16 @@ const std::map<NpuArch, std::vector<std::string>> g_archToSocNames = { | |||
| 26 | {Ops::Base::DAV_2002, {"ascend310p"}}, | 26 | {Ops::Base::DAV_2002, {"ascend310p"}}, |
| 27 | {Ops::Base::DAV_2201, {"ascend910b", "ascend910_93"}}, | 27 | {Ops::Base::DAV_2201, {"ascend910b", "ascend910_93"}}, |
| 28 | {Ops::Base::DAV_3002, {"ascend310b"}}, | 28 | {Ops::Base::DAV_3002, {"ascend310b"}}, |
| 29 | + {Ops::Base::DAV_3003, {"kirinx90"}}, | ||
| 30 | + {Ops::Base::DAV_3004, {"ascend031"}}, | ||
| 29 | {Ops::Base::DAV_3102, {"ascend610lite"}}, | 31 | {Ops::Base::DAV_3102, {"ascend610lite"}}, |
| 32 | + {Ops::Base::DAV_3113, {"kirin9030"}}, | ||
| 33 | + {Ops::Base::DAV_3505, {"ascend035"}}, | ||
| 30 | {Ops::Base::DAV_3510, {"ascend950", "ascend350"}}, | 34 | {Ops::Base::DAV_3510, {"ascend950", "ascend350"}}, |
| 35 | + {Ops::Base::DAV_5102, {"mc62", "ascend630"}}, | ||
| 31 | {Ops::Base::DAV_5162, {"ascend5162"}}, | 36 | {Ops::Base::DAV_5162, {"ascend5162"}}, |
| 37 | + {Ops::Base::DAV_9201, {"ascend960dt"}}, | ||
| 38 | + {Ops::Base::DAV_9202, {"ascend960pr"}}, | ||
| 32 | }; | 39 | }; |
| 33 | } // namespace | 40 | } // namespace |
| 34 | 41 | ||