Skip to content

Commit

Permalink
Fix thread count error message.
Browse files Browse the repository at this point in the history
Pull request #2287.
  • Loading branch information
zhanzhenzhen authored and gcp committed Mar 25, 2019
1 parent abccb90 commit e14dbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Leela.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void calculate_thread_count_gpu(boost::program_options::variables_map & v
}

if (cfg_num_threads < cfg_batch_size) {
printf("Number of threads = %d must be larger than batch size = %d\n", cfg_num_threads, cfg_batch_size);
printf("Number of threads = %d must be no smaller than batch size = %d\n", cfg_num_threads, cfg_batch_size);
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit e14dbe1

Please sign in to comment.