24 #ifndef ARM_COMPUTE_SINGLETHREADSCHEDULER_H 25 #define ARM_COMPUTE_SINGLETHREADSCHEDULER_H 67 void run_workloads(std::vector<Workload> &workloads)
override;
Common interface for all kernels implemented in C++.
unsigned int num_threads() const override
Returns the number of threads that the SingleThreadScheduler has, which is always 1...
Scheduler interface to run kernels.
Copyright (c) 2017-2021 Arm Limited.
void schedule_op(ICPPKernel *kernel, const Hints &hints, const Window &window, ITensorPack &tensors) override
Runs the kernel in the same thread as the caller synchronously.
void schedule(ICPPKernel *kernel, const Hints &hints) override
Runs the kernel in the same thread as the caller synchronously.
SingleThreadScheduler()=default
Constructor.
void set_num_threads(unsigned int num_threads) override
Sets the number of threads the scheduler will use to run the kernels.
Pool of threads to automatically split a kernel's execution among several threads.
Describe a multidimensional execution window.