Home | History | Annotate | Download | only in internal

Lines Matching defs:thread_count

529   int thread_count = std::min(max_count, CeilQuotient(rows, MinRowsPerThread));
531 // At this point for small products we already have thread_count==1 so
535 if (thread_count > 1) {
543 thread_count =
544 std::min(thread_count, int(cubic_size / min_cubic_size_per_thread));
546 if (thread_count < 1) {
547 thread_count = 1;
551 assert(thread_count > 0 && thread_count <= max_count);
552 return thread_count;
582 const int thread_count =
584 if (thread_count == 1) {
590 assert(thread_count > 1);
600 const int workers_count = thread_count - 1;
624 for (int thread = 0; thread < thread_count; thread++) {
627 rows * (thread + 1) / thread_count));