Compute Library
 21.02
SchedulerUtils.cpp File Reference
#include "src/runtime/SchedulerUtils.h"
#include "arm_compute/core/Error.h"
#include <cmath>

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 
 arm_compute::scheduler_utils
 

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...