Compute Library
 22.11
TaskExecutor Class Referencefinal

Task executor. More...

#include <Workload.h>

Static Public Member Functions

static TaskExecutorget ()
 Task executor accessor. More...
 

Data Fields

std::function< decltype(execute_task)> execute_function
 Function that is responsible for executing tasks. More...
 

Detailed Description

Task executor.

Definition at line 50 of file Workload.h.

Member Function Documentation

◆ get()

TaskExecutor & get ( )
static

Task executor accessor.

Returns
Task executor instance

Definition at line 75 of file Workload.cpp.

Referenced by ExecutionTask::operator()(), OpenCLClock< output_timestamps >::test_start(), SchedulerClock< output_timestamps >::test_start(), OpenCLClock< output_timestamps >::test_stop(), and SchedulerClock< output_timestamps >::test_stop().

76 {
77  static TaskExecutor executor;
78  return executor;
79 }

Field Documentation

◆ execute_function


The documentation for this class was generated from the following files: