Browse Source

fix

pull/706/head
wangxiaotian22 5 years ago
parent
commit
e70a9fd7cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/manager/graph_manager.cc

+ 1
- 1
ge/graph/manager/graph_manager.cc View File

@@ -539,7 +539,7 @@ Status GraphManager::OptimizeSubGraphWithMultiThreads(ComputeGraphPtr compute_gr
// use default 16 multi thread
uint32_t thread_num = 16;

const char *env = std::getenv("THREAD_MULTI_NUM");
char *env = std::getenv("THREAD_MULTI_NUM");
if (env != nullptr) {
thread_num = atoi(env);
GEEVENT("OptimizeSubGraphWithMultiThreads thread num: %u", thread_num);


Loading…
Cancel
Save