Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: [Starpu-devel] Problem with STARPU_PROLOGUE_CALLBACK_POP
- Date: Thu, 17 Apr 2014 13:10:43 +0200
- 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>
All,
I am using the trunk version 12696, StarPU is configured with the options
--enable-quick-check --enable-debug --enable-verbose
I realised that in examples/callback/prologue.c when modifying the call to starpu_task_insert() to have a NULL codelet, i.e
int ret2 = starpu_task_insert(NULL,//&cl,
//STARPU_RW, handle,
STARPU_PROLOGUE_CALLBACK, prologue_callback_func,
STARPU_PROLOGUE_CALLBACK_ARG, x,
STARPU_PROLOGUE_CALLBACK_POP, pop_prologue_callback_func,
STARPU_PROLOGUE_CALLBACK_POP_ARG, 5,
0);
the function pop_prologue_callback_func does not get executed (it is executed with a non NULL codelet). By adding some printf in the code, it seems the following lines:
if(task->prologue_callback_pop_func)
task->prologue_callback_pop_func(task->prologue_callback_pop_arg);
at the end of the function struct starpu_task *_starpu_pop_task(struct _starpu_worker *worker) in sched_policy.c do not get executed for the given task.
Cheers,
Nathalie
- [Starpu-devel] Problem with STARPU_PROLOGUE_CALLBACK_POP, Nathalie Furmento, 17/04/2014
- Re: [Starpu-devel] Problem with STARPU_PROLOGUE_CALLBACK_POP, Samuel Thibault, 17/04/2014
Archives gérées par MHonArc 2.6.19+.