Browse Source

fix(mgb): fix copybara mc20

GitOrigin-RevId: 2b491e2278
tags/v1.7.2.m1
Megvii Engine Team 4 years ago
parent
commit
501eadc1db
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      src/core/impl/comp_node/comp_node.cpp

+ 0
- 6
src/core/impl/comp_node/comp_node.cpp View File

@@ -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();
}


Loading…
Cancel
Save