|
@@ -922,10 +922,7 @@ profiling:
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /* This function is useful only for CPUs as its unique purpose is to initialize
|
|
|
- * another runtime (e.g. OpenMP) when using parallel tasks (sched contexts without
|
|
|
- * policy). We therefore ensure GPUs don't try to execute it. */
|
|
|
- if(task->prologue_callback_pop_func && worker->arch == STARPU_CPU_WORKER)
|
|
|
+ if(task->prologue_callback_pop_func)
|
|
|
task->prologue_callback_pop_func(task->prologue_callback_pop_arg);
|
|
|
|
|
|
return task;
|