24.02.1
|
#include <IScheduler.h>
Public Member Functions | |
Hints (unsigned int split_dimension, StrategyHint strategy=StrategyHint::STATIC, int threshold=0) | |
Constructor. More... | |
Hints & | set_split_dimension (unsigned int split_dimension) |
Set the split_dimension hint. More... | |
unsigned int | split_dimension () const |
Return the prefered split dimension. More... | |
Hints & | set_strategy (StrategyHint strategy) |
Set the strategy hint. More... | |
StrategyHint | strategy () const |
Return the prefered strategy to use to split workload. More... | |
int | threshold () const |
Return the granule capping threshold to be used by dynamic scheduling. More... | |
Scheduler hints.
Collection of preferences set by the function regarding how to split a given workload
Definition at line 68 of file IScheduler.h.
|
inline |
Constructor.
[in] | split_dimension | Dimension along which to split the kernel's execution window. |
[in] | strategy | (Optional) Split strategy. |
[in] | threshold | (Optional) Dynamic scheduling capping threshold. |
Definition at line 77 of file IScheduler.h.
|
inline |
Set the split_dimension hint.
[in] | split_dimension | Dimension along which to split the kernel's execution window. |
Definition at line 87 of file IScheduler.h.
References IScheduler::Hints::split_dimension().
|
inline |
Set the strategy hint.
[in] | strategy | Prefered strategy to use to split the workload |
Definition at line 107 of file IScheduler.h.
References IScheduler::Hints::strategy().
|
inline |
Return the prefered split dimension.
Definition at line 96 of file IScheduler.h.
Referenced by SingleThreadScheduler::schedule(), OMPScheduler::schedule_op(), and IScheduler::Hints::set_split_dimension().
|
inline |
Return the prefered strategy to use to split workload.
Definition at line 116 of file IScheduler.h.
Referenced by OMPScheduler::schedule_op(), and IScheduler::Hints::set_strategy().
|
inline |
Return the granule capping threshold to be used by dynamic scheduling.
Definition at line 124 of file IScheduler.h.