提交 501eadc1 编写于 作者: M Megvii Engine Team

fix(mgb): fix copybara mc20

GitOrigin-RevId: 2b491e2278b25bf2512f315ca7815a43a61541b4
上级 e4d42cd8
......@@ -154,12 +154,6 @@ CompNode::Locator CompNode::Locator::parse(const std::string& id) {
// parse dev_type
if (ptr[0] == 'a') {
#if MGB_MC20
if (strncmp(ptr, "ax", 2) == 0) {
dev_type = DeviceType::AX;
ptr += 2;
} else {
#endif
if (strncmp(ptr, "atlas", 5)) {
err();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册