|
@@ -35,17 +35,17 @@ int starpu_get_prefetch_flag(void)
|
|
|
|
|
|
static struct starpu_sched_policy *predefined_policies[] =
|
|
static struct starpu_sched_policy *predefined_policies[] =
|
|
{
|
|
{
|
|
- &_starpu_sched_tree_eager_policy,
|
|
|
|
- &_starpu_sched_tree_eager_prefetching_policy,
|
|
|
|
- &_starpu_sched_tree_prio_policy,
|
|
|
|
- &_starpu_sched_tree_prio_prefetching_policy,
|
|
|
|
- &_starpu_sched_tree_random_policy,
|
|
|
|
- &_starpu_sched_tree_random_prio_policy,
|
|
|
|
- &_starpu_sched_tree_random_prefetching_policy,
|
|
|
|
- &_starpu_sched_tree_random_prio_prefetching_policy,
|
|
|
|
- //&_starpu_sched_tree_ws_policy,
|
|
|
|
- &_starpu_sched_tree_heft_policy,
|
|
|
|
- &_starpu_sched_tree_heft2_policy,
|
|
|
|
|
|
+ &_starpu_sched_modular_eager_policy,
|
|
|
|
+ &_starpu_sched_modular_eager_prefetching_policy,
|
|
|
|
+ &_starpu_sched_modular_prio_policy,
|
|
|
|
+ &_starpu_sched_modular_prio_prefetching_policy,
|
|
|
|
+ &_starpu_sched_modular_random_policy,
|
|
|
|
+ &_starpu_sched_modular_random_prio_policy,
|
|
|
|
+ &_starpu_sched_modular_random_prefetching_policy,
|
|
|
|
+ &_starpu_sched_modular_random_prio_prefetching_policy,
|
|
|
|
+ //&_starpu_sched_modular_ws_policy,
|
|
|
|
+ &_starpu_sched_modular_heft_policy,
|
|
|
|
+ &_starpu_sched_modular_heft2_policy,
|
|
&_starpu_sched_eager_policy,
|
|
&_starpu_sched_eager_policy,
|
|
&_starpu_sched_prio_policy,
|
|
&_starpu_sched_prio_policy,
|
|
&_starpu_sched_random_policy,
|
|
&_starpu_sched_random_policy,
|
|
@@ -167,7 +167,7 @@ struct starpu_sched_policy *_starpu_select_sched_policy(struct _starpu_machine_c
|
|
return selected_policy;
|
|
return selected_policy;
|
|
|
|
|
|
/* If no policy was specified, we use the greedy policy as a default */
|
|
/* If no policy was specified, we use the greedy policy as a default */
|
|
- return &_starpu_sched_tree_eager_prefetching_policy;
|
|
|
|
|
|
+ return &_starpu_sched_modular_eager_prefetching_policy;
|
|
}
|
|
}
|
|
|
|
|
|
void _starpu_init_sched_policy(struct _starpu_machine_config *config, struct _starpu_sched_ctx *sched_ctx, struct starpu_sched_policy *selected_policy)
|
|
void _starpu_init_sched_policy(struct _starpu_machine_config *config, struct _starpu_sched_ctx *sched_ctx, struct starpu_sched_policy *selected_policy)
|