Lines Matching refs:thread_count
499 int thread_count = std::min(max_count, CeilQuotient(rows, MinRowsPerThread)); in HowManyThreads() local
505 if (thread_count > 1) { in HowManyThreads()
513 thread_count = in HowManyThreads()
514 std::min(thread_count, int(cubic_size / min_cubic_size_per_thread)); in HowManyThreads()
516 if (thread_count < 1) { in HowManyThreads()
517 thread_count = 1; in HowManyThreads()
521 assert(thread_count > 0 && thread_count <= max_count); in HowManyThreads()
522 return thread_count; in HowManyThreads()
552 const int thread_count = in MultiThreadGemm() local
554 if (thread_count == 1) { in MultiThreadGemm()
560 assert(thread_count > 1); in MultiThreadGemm()
570 const int workers_count = thread_count - 1; in MultiThreadGemm()
594 for (int thread = 0; thread < thread_count; thread++) { in MultiThreadGemm()
597 rows * (thread + 1) / thread_count)); in MultiThreadGemm()