diff --git a/src/amun/gpu/decoder/encoder_decoder.cu b/src/amun/gpu/decoder/encoder_decoder.cu index 10b72e8f..b4331f6d 100644 --- a/src/amun/gpu/decoder/encoder_decoder.cu +++ b/src/amun/gpu/decoder/encoder_decoder.cu @@ -417,10 +417,10 @@ void EncoderDecoder::AssembleBeamStateTopup(const Histories& histories, unsigned EncoderDecoder::SentencesToGet(const Histories& histories) { /* - unsigned ret = god_.Get("mini-batch") - histories.NumActive(); - return ret; + unsigned ret1 = histories.NumInactive(); + return ret1; */ - ///* + BEGIN_TIMER("SentencesToGet"); unsigned minActive = (histories.size() > 8) ? histories.size() - 8 : 1; @@ -457,7 +457,6 @@ unsigned EncoderDecoder::SentencesToGet(const Histories& histories) PAUSE_TIMER("SentencesToGet"); return ret; - //*/ } }