|
@@ -58,6 +58,7 @@ void taskgroup_f(void *arg)
|
|
|
struct starpu_omp_task_region_attr attr;
|
|
|
int *p_i = (int *)arg;
|
|
|
memset(&attr, 0, sizeof(attr));
|
|
|
+ attr.cl.model = &starpu_perfmodel_nop;
|
|
|
attr.cl.cpu_funcs[0] = task_region_g;
|
|
|
attr.cl.where = STARPU_CPU;
|
|
|
attr.cl_arg_size = sizeof(void *);
|
|
@@ -94,6 +95,7 @@ void parallel_region_f(void *buffers[], void *args)
|
|
|
printf("[tid %p] task thread = %d: implicit task \"f\": taskgroup\n", (void *)tid, worker_id);
|
|
|
|
|
|
memset(&attr, 0, sizeof(attr));
|
|
|
+ attr.cl.model = &starpu_perfmodel_nop;
|
|
|
attr.cl.cpu_funcs[0] = task_region_g;
|
|
|
attr.cl.where = STARPU_CPU;
|
|
|
attr.cl_arg_size = sizeof(void *);
|
|
@@ -115,6 +117,7 @@ main (void)
|
|
|
{
|
|
|
struct starpu_omp_parallel_region_attr attr;
|
|
|
memset(&attr, 0, sizeof(attr));
|
|
|
+ attr.cl.model = &starpu_perfmodel_nop;
|
|
|
attr.cl.cpu_funcs[0] = parallel_region_f;
|
|
|
attr.cl.where = STARPU_CPU;
|
|
|
attr.if_clause = 1;
|