removed cudaDevicesynchronize

This commit is contained in:
Ubuntu 2016-04-18 18:44:22 +00:00
parent 890e3fe066
commit 349a0266cf

View File

@ -172,7 +172,7 @@ int main(int argc, char* argv[]) {
NBestList nbl = history.NBest(nbest);
for(size_t i = 0; i < nbl.size(); ++i) {
auto& r = nbl[i];
std::cout << lineCounter << " ||| " << (bpe ? bpe.unsplit(trgVocab(r.first)) : trgVocab(r.first, false)) << " |||";
std::cout << lineCounter << " ||| " << (bpe ? bpe.unsplit(trgVocab(r.first)) : trgVocab(r.first)) << " |||";
for(size_t j = 0; j < r.second->GetCostBreakdown().size(); ++j) {
std::cout << " F" << j << "=" << r.second->GetCostBreakdown()[j];
}