Searched refs:real_tasks (Results 1 – 1 of 1) sorted by relevance
90 std::int32_t real_tasks = std::max( in PrepareTasks() local93 if (real_tasks == 1) { in PrepareTasks()99 const std::int32_t m_chunk = m / real_tasks; in PrepareTasks()100 for (int i = 0; i < real_tasks - 1; ++i) { in PrepareTasks()103 const std::int32_t last_m_offset = (real_tasks - 1) * m_chunk; in PrepareTasks()106 const std::int32_t n_chunk = n / real_tasks; in PrepareTasks()107 for (int i = 0; i < real_tasks - 1; ++i) { in PrepareTasks()110 const std::int32_t last_n_offset = (real_tasks - 1) * n_chunk; in PrepareTasks()