17 switch (work_package->
type) {
19 const unsigned int chunk_number = work_package->
chunk_number;
void execute(WorkPackage *work) override
execute a WorkPackage
Class ExecutionGroup is a group of Operations that are executed as one. This grouping is used to comb...
void finalize_chunk_execution(int chunk_number, MemoryBuffer **memory_buffers)
after a chunk is executed the needed resources can be freed or unlocked.
NodeOperation * get_output_operation() const
get the output operation of this ExecutionGroup
virtual void execute_region(rcti *, unsigned int)
when a chunk is executed by a CPUDevice, this method is called
@ CustomFunction
Executes a custom function.
@ Tile
Executes an execution group tile.
thread_local int thread_id
contains data about work that can be scheduled
std::function< void()> executed_fn
unsigned int chunk_number
number of the chunk to be executed
std::function< void()> execute_fn
ExecutionGroup * execution_group
execution_group with the operations-setup to be evaluated