Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
getting rid of 10000 repetitive runs after verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Jin committed Jun 1, 2018
1 parent bdff629 commit 1f92f1e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/cpp/engine/threaded_engine_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,13 @@ TEST(Engine, start_stop) {
engine[2] = mxnet::engine::CreateThreadedEnginePerDevice();
std::string type_names[3] = {"NaiveEngine", "ThreadedEnginePooled", "ThreadedEnginePerDevice"};

for (int j = 0; j < 10000; ++j) {
for (int i = 0; i < num_engine; ++i) {
LOG(INFO) << "Stopping: " << type_names[i];
engine[i]->Stop();
LOG(INFO) << "Stopped: " << type_names[i] << " Starting...";
engine[i]->Start();
LOG(INFO) << "Started: " << type_names[i] << " Done...";
}
}
}

TEST(Engine, RandSumExpr) {
Expand Down

0 comments on commit 1f92f1e

Please sign in to comment.