24.02.1
|
#include <SchedulerFactory.h>
Public Types | |
enum | Type { ST, CPP, OMP } |
Scheduler type. More... | |
Static Public Member Functions | |
static std::unique_ptr< IScheduler > | create (Type type=_default_type) |
Create a scheduler depending on the scheduler type. More... | |
Scheduler Factory.
Definition at line 34 of file SchedulerFactory.h.
|
strong |
Scheduler type.
Enumerator | |
---|---|
ST | Single thread. |
CPP | C++11 threads. |
OMP | OpenMP. |
Definition at line 38 of file SchedulerFactory.h.
|
static |
Create a scheduler depending on the scheduler type.
[in] | type | Type of scheduler to create |
Definition at line 49 of file SchedulerFactory.cpp.
References ARM_COMPUTE_ERROR, SchedulerFactory::CPP, SchedulerFactory::OMP, SchedulerFactory::ST, and type.
Referenced by arm_compute::test::validation::TEST_CASE().