|
bool | is_bound (void) const noexcept |
| Returns true if this executor is inserted to another executor.
|
|
void | bind_to (const runtime::gang_id gid) |
| Binds this executor to the executor of gid .
|
|
template<typename RunnableFunction , typename FinishedFunction > |
void | set_notifiers (RunnableFunction &&rf, chunker::entry_type &entry, FinishedFunction &&ff) |
| Sets the notifiers to be called when the executor becomes runnable or has finished execution and associates it with a chunker entry.
|
|
void | retire_chunker_entry (void) noexcept |
| Retires the chunker entry associated with this executor.
|
|
bool | idle (void) const noexcept |
| Returns true if the executor is processing entries.
|
|
void | add_task (runnable_base *t) |
| Adds a task without scheduling information.
|
|
template<typename SchedInfo > |
void | add_executor (executor_base *, SchedInfo &&, const bool is_gang_executor=false) |
| Adds an executor with the given scheduling information.
|
|
void | add_executor (executor_base *ex, none_t, const bool is_gang_executor=false) |
| Adds an executor without scheduling information.
|
|
void | add_executor (executor_base *ex, const bool is_gang_executor=false) |
| Adds an executor without scheduling information. More...
|
|
virtual result_type | populate (void)=0 |
| Populates the executor with entries. More...
|
|
virtual result_type | operator() (void)=0 |
| Executes some entries.
|
|
virtual void | operator() (execute_all_t)=0 |
| Executes all entries.
|
|
virtual bool | empty (void)=0 |
|
template<typename SchedInfo>
class stapl::runtime::executor_intermediate< SchedInfo >
Intermediate class to allow adding entries with scheduling information.
- Template Parameters
-
This class is required because executor objects are pointed to through the executor_base objects which are unaware of the scheduling information.