26 const int64_t num_elems,
27 const int64_t target_elems_per_thread) {
29 std::min(std::max(max_thread_count, int64_t(1)),
30 ((num_elems + target_elems_per_thread - 1) / target_elems_per_thread));
int64_t num_elems_per_thread
ThreadInfo(const int64_t max_thread_count, const int64_t num_elems, const int64_t target_elems_per_thread)