Objet : Developers list for StarPU
Archives de la liste
- From: Miguel Palhas <mpalhas@gmail.com>
- To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Miguel Palhas <mpalhas@gmail.com>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Problems using parallel tasks
- Date: Wed, 5 Jun 2013 12:24:36 +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>
I hadn't read that part yet, but i was indeed trying to run this code with:
STARPU_SCHED=pheft ./a.out
And i would expect it to try to run the task first with 1 thread, and scale in future invocations. So i would expect that multiple invocation of the call() function in my example would try to use different worker sizes right?
I tried the following:
int main() {
starpu_init(NULL);
call();
call();
call();
starpu_shutdown();
}
But all 3 invocations use only 1 thread. Is this expected?
After reading that paragraph, i tried to use the peager scheduler as mentioned, but it doesn't seem to exist. I have however a pgreedy one, which indeed uses 3 threads when i try it. Is pgreedy and peager the same i supose?
And about the pheft one, what am i doing/expecting wrong?
Thanks for the quick answer
Best Regards
Miguel Palhas
On Wed, Jun 5, 2013 at 12:15 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Hello,
Miguel Palhas, le Wed 05 Jun 2013 13:11:46 +0200, a écrit :
> Hi, i'm trying to use OpenMP within my tasks, but i'm having a problem, asDid you see paragraph 4.10.3 Parallel tasks performance in the
> starpu insists on always allowing me to use one thread.
documentation ? You have to use a parallel-task-aware scheduler, and
these schedulers will try the various sizes anyway.
Samuel
Cumprimentos
Miguel Palhas
- [Starpu-devel] Problems using parallel tasks, Miguel Palhas, 05/06/2013
- Re: [Starpu-devel] Problems using parallel tasks, Samuel Thibault, 05/06/2013
- Re: [Starpu-devel] Problems using parallel tasks, Miguel Palhas, 05/06/2013
- Re: [Starpu-devel] Problems using parallel tasks, Samuel Thibault, 05/06/2013
- Re: [Starpu-devel] Problems using parallel tasks, Miguel Palhas, 05/06/2013
- Re: [Starpu-devel] Problems using parallel tasks, Samuel Thibault, 05/06/2013
Archives gérées par MHonArc 2.6.19+.