21.05
|
Functions | |
std::pair< unsigned, unsigned > | split_2d (unsigned max_threads, std::size_t m, std::size_t n) |
Given two dimensions and a maximum number of threads to utilise, calculate the best combination of threads that fit in (multiplied together) max_threads. More... | |
std::pair< unsigned, unsigned > split_2d | ( | unsigned | max_threads, |
std::size_t | m, | ||
std::size_t | n | ||
) |
Given two dimensions and a maximum number of threads to utilise, calculate the best combination of threads that fit in (multiplied together) max_threads.
This algorithm assumes that work in either of the dimensions is equally difficult to compute
Definition at line 35 of file SchedulerUtils.cpp.
References arm_compute::round().