Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] OpenMP

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] OpenMP


Chronologique Discussions 
  • From: uma boregowda <umaboregowda@gmail.com>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Nathalie Furmento <nathalie.furmento@labri.fr>, uma boregowda <umaboregowda@gmail.com>, "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] OpenMP
  • Date: Sun, 25 Mar 2012 06:04:50 +0530
  • 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,

5.8.1 Fork-mode parallel tasks

In the Fork mode, StarPU will call the codelet function on one of the CPUs of the combined worker. The codelet function can use starpu_combined_worker_get_size() to get the number of threads it is allowed to start to achieve the computation. The CPU binding mask is already enforced, so that threads created by the function will inherit the mask, and thus execute where StarPU expected. For instance, using OpenMP (full source is available in examples/openmp/vector_scal.c):


pl tell me how threads are handled by starpu.


Did not understand the line -

The CPU binding mask is already enforced, so that threads created by the function will inherit the mask, and thus execute where StarPU expected


with best wishes

uma



On Sat, Mar 24, 2012 at 10:21 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Nathalie Furmento, le Sat 24 Mar 2012 09:39:23 +0100, a écrit :
>  well, i did not understand openmp program.
>
>  Within a task, few threads are created.
>
> now, where will these threads be scheduled ?
>
> What does the above function accomplishing ?

See paragraph 5.9 "Parallel Tasks" of the StarPU handbook.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page