Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] StarPU and OpenMP threads

Veuillez patienter...

starpu-devel@inria.fr

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] StarPU and OpenMP threads


Chronologique Discussions 
  • From: Usman Dastgeer <usman.dastgeer@liu.se>
  • To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] StarPU and OpenMP threads
  • Date: Mon, 7 Feb 2011 11:55:50 +0100
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • 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>


> Hello,
>
> While using OpenMP with StarPU, I am explicitly setting the num of threads
> to some number (largest available in the system in this case) using:
>
> omp_set_num_threads(omp_get_max_threads());
>
> It should give me the desired number of threads later in the parallel
> section while using StarPU it still gives 1 thread in the parallel region.
> How could I enforce specific number of OpenMP threads with StarPU. I am
> using gcc with Linux.
>
> --
> Usman.






Archives gérées par MHonArc 2.6.19+.

Haut de le page