Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] OpenMP StarPU

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] OpenMP StarPU


Chronologique Discussions 
  • From: Roberto Ribeiro <rbrt.ribeiro@gmail.com>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] OpenMP StarPU
  • Date: Tue, 25 Sep 2012 16:20:23 +0100
  • 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,

i'm looking for an aternative way to use OpenMP with StarPU without parallel tasks feature. My first approach is to init the system with a single CPU (conf.ncpus = 1) and inside the codelet func use #pragma omp parallel for.
However, for some unknown reason the threads are instanced but they stall and the kernel remains sequential. Are you aware of anything that may cause this? I've tested without StarPU and the openmp works fine.

One more thing, in your handbook you say:

The solution is then to use only one combined worker at a time. This can be done by setting single_combined_worker to 1 in the starpu_conf structure, or setting the STARPU_SINGLE_COMBINED_WORKER environment variable to 1. StarPU will then run only one parallel task at a time.

Does this mean that we can't have a GPU worker running concurrently and executing tasks with the same starpu_codelet? For instance, can we schedule a GEMM in a CPU+GPU system using any CPU BLAS implementation and cuBLAS?

Thank you for your time,
Regards
Roberto Ribeiro





Archives gérées par MHonArc 2.6.19+.

Haut de le page