fix FeedAndSplitTensorIntoLocalScopes (#11817)

ce-debug
chengduo 7 years ago committed by GitHub
parent 8080ffd7eb
commit 6711b7b5f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -253,6 +253,9 @@ void ParallelExecutor::FeedAndSplitTensorIntoLocalScopes(
t->set_lod(lod_tensors[j].lod());
}
}
for (auto &p : member_->places_) {
platform::DeviceContextPool::Instance().Get(p)->Wait();
}
}
ParallelExecutor::~ParallelExecutor() {

Loading…
Cancel
Save