Browse Source

comment cache server on windows

tags/v0.6.0-beta
xiefangqi 5 years ago
parent
commit
ad0e4554a1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mindspore/ccsrc/minddata/dataset/util/services.cc

+ 4
- 0
mindspore/ccsrc/minddata/dataset/util/services.cc View File

@@ -77,9 +77,13 @@ Status Services::CreateAllInstances() {
rc = sa_[kSlotTaskMgr_]->ServiceStart();
RETURN_IF_NOT_OK(rc);
// TODO(jesse) : Get the parameters from config file. Right now spill to /tmp and spawn 3 workers
#if !defined(_WIN32) && !defined(_WIN64)
sa_[kSlotCacheMgr_] = new (&rc, pool_) CacheServer("/tmp", 3);
RETURN_IF_NOT_OK(rc);
rc = sa_[kSlotCacheMgr_]->ServiceStart();
#else
sa_[kSlotCacheMgr_] = nullptr;
#endif
return rc;
}



Loading…
Cancel
Save