Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU: questions about performance model

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU: questions about performance model


Chronologique Discussions 
  • From: Leo Li <luli757@student.liu.se>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Leo Li <luli757@student.liu.se>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] StarPU: questions about performance model
  • Date: Mon, 20 Jun 2011 11:01:38 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=i96BUiMrBQLm4DWjCvvUK6CMdD3m46rYQcVGI4ihlviGhBs2d2NWC16MU9RfEkhQIu K1JY2uuZAiKE0Ev4gkE/NenQCIBrFNmkfwkWhhXiHoUWG0lTuI3It/DGCXVj638Qxgs5 PZkT50L2xf8xCnuNKH3r2QXyBEJvOvOCgOUm4=
  • 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>

Hi, Sameul

I want to ask a silly question.

When I use @code{starpu_task_expected_length} from external
application, I have link error undefined reference to
`starpu_task_expected_length(starpu_task*, starpu_perf_archtype)'.
Could you tell me how to use this function from an external
application?

Thanks in advance.


On Fri, Jun 17, 2011 at 11:51 AM, Samuel Thibault
<samuel.thibault@ens-lyon.org> wrote:
> Hello,
>
> Leo Li, le Fri 17 Jun 2011 11:43:20 +0200, a écrit :
>> 1) There is one API(starpu_load_history_debug) which can be used to
>> load history-based performance model. If the performance model have
>> multiple entries for cpu, and given the size and layout of parameters
>> I need to find the right entry. Does anybody know how to find the
>> right entry according to size and layout of parameters? Which APIs
>> should I use?
>>
>> 2) Could someone send me more information or an example about
>> regression model? How does it work?
>
> I have just added these yesterday to the documentation:
>
> “For instance, @code{tests/perfmodels/regression_based.c} uses a
> regression-based performance model for the @code{memset} operation”
>
> “The application can request time estimations from the StarPU performance
> models by filling a task structure as usual without actually submitting
> it. The data handles can be created by calling @code{starpu_data_register}
> functions with a @code{NULL} pointer (and need to be unregistered as usual)
> and the desired data sizes. The @code{starpu_task_expected_length} and
> @code{starpu_task_expected_power} functions can then be called to get an
> estimation of the task duration on a given arch. @code{starpu_task_destroy}
> needs to be called to destroy the dummy task afterwards.”
>
> Samuel
>



--
Faithful
Lu Li


Contact: +46704759692





Archives gérées par MHonArc 2.6.19+.

Haut de le page