24.02.1
|
Execution task. More...
#include <Workload.h>
Public Member Functions | |
ExecutionTask (std::unique_ptr< arm_compute::IFunction > &&f, INode *n) | |
ExecutionTask (const ExecutionTask &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ExecutionTask & | operator= (const ExecutionTask &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ExecutionTask (ExecutionTask &&) noexcept=default | |
Default Move Constructor. More... | |
ExecutionTask & | operator= (ExecutionTask &&) noexcept=default |
Default move assignment operator. More... | |
~ExecutionTask ()=default | |
Default destructor. More... | |
void | operator() () |
Function operator. More... | |
void | prepare () |
Prepare execution task. More... | |
Data Fields | |
std::unique_ptr< arm_compute::IFunction > | task = {} |
Task to execute. More... | |
INode * | node = {} |
Node bound to this workload. More... | |
Execution task.
Contains all the information required to execute a given task
Definition at line 70 of file Workload.h.
|
inline |
Definition at line 72 of file Workload.h.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
defaultnoexcept |
Default Move Constructor.
|
default |
Default destructor.
void operator() | ( | ) |
Function operator.
Definition at line 36 of file Workload.cpp.
References TaskExecutor::execute_function, and TaskExecutor::get().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
defaultnoexcept |
Default move assignment operator.
void prepare | ( | ) |
INode* node = {} |
Node bound to this workload.
Definition at line 87 of file Workload.h.
Referenced by arm_compute::graph::execute_task().
std::unique_ptr<arm_compute::IFunction> task = {} |
Task to execute.
Definition at line 86 of file Workload.h.
Referenced by arm_compute::graph::execute_task(), and ExecutionTask::prepare().