Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [PATCH 7/7] Handle bundles in deque_modeling_policy_data_aware.c.

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] [PATCH 7/7] Handle bundles in deque_modeling_policy_data_aware.c.


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Cyril Roelandt <cyril.roelandt@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] [PATCH 7/7] Handle bundles in deque_modeling_policy_data_aware.c.
  • Date: Fri, 19 Oct 2012 18:00:41 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Cyril Roelandt, le Tue 16 Oct 2012 23:45:24 +0200, a écrit :
> diff --git a/trunk/src/sched_policies/deque_modeling_policy_data_aware.c
> b/trunk/src/sched_policies/deque_modeling_policy_data_aware.c
> index e59da28..c268f55 100644
> --- a/trunk/src/sched_policies/deque_modeling_policy_data_aware.c
> +++ b/trunk/src/sched_policies/deque_modeling_policy_data_aware.c
> @@ -456,7 +456,9 @@ static void compute_all_performance_predictions(struct
> starpu_task *task,
>
> if (bundle)
> {
> - STARPU_ABORT(); /* Not implemented yet. */
> + local_task_length[worker][nimpl] =
> starpu_task_bundle_expected_length(bundle, perf_arch, nimpl);
> + local_data_penalty[worker][nimpl] =
> starpu_task_bundle_expected_data_transfer_time(bundle, memory_node);
> + local_power[worker][nimpl] =
> starpu_task_bundle_expected_power(bundle, perf_arch,nimpl);
> }

Mmm, that's not all for bundle implementation, see in _heft_push_task,
we need to fix the values of model_best and transfer_model_best, to use
the value for the task only, and not for the whole bundle. Also, we
remove the task from the bundle.

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page