|
@@ -41,10 +41,12 @@ static int _cholesky(starpu_data_handle_t dataA, unsigned nblocks)
|
|
|
|
|
|
int prio_level = noprio?STARPU_DEFAULT_PRIO:STARPU_MAX_PRIO;
|
|
int prio_level = noprio?STARPU_DEFAULT_PRIO:STARPU_MAX_PRIO;
|
|
|
|
|
|
- start = starpu_timing_now();
|
|
|
|
-
|
|
|
|
if (bound || bound_lp || bound_mps)
|
|
if (bound || bound_lp || bound_mps)
|
|
starpu_bound_start(bound_deps, 0);
|
|
starpu_bound_start(bound_deps, 0);
|
|
|
|
+ starpu_fxt_start_profiling();
|
|
|
|
+
|
|
|
|
+ start = starpu_timing_now();
|
|
|
|
+
|
|
/* create all the DAG nodes */
|
|
/* create all the DAG nodes */
|
|
for (k = 0; k < nblocks; k++)
|
|
for (k = 0; k < nblocks; k++)
|
|
{
|
|
{
|
|
@@ -94,11 +96,13 @@ static int _cholesky(starpu_data_handle_t dataA, unsigned nblocks)
|
|
}
|
|
}
|
|
|
|
|
|
starpu_task_wait_for_all();
|
|
starpu_task_wait_for_all();
|
|
- if (bound || bound_lp || bound_mps)
|
|
|
|
- starpu_bound_stop();
|
|
|
|
|
|
|
|
end = starpu_timing_now();
|
|
end = starpu_timing_now();
|
|
|
|
|
|
|
|
+ starpu_fxt_stop_profiling();
|
|
|
|
+ if (bound || bound_lp || bound_mps)
|
|
|
|
+ starpu_bound_stop();
|
|
|
|
+
|
|
double timing = end - start;
|
|
double timing = end - start;
|
|
|
|
|
|
double flop = FLOPS_SPOTRF(n);
|
|
double flop = FLOPS_SPOTRF(n);
|
|
@@ -296,6 +300,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
int ret;
|
|
int ret;
|
|
ret = starpu_init(NULL);
|
|
ret = starpu_init(NULL);
|
|
|
|
+ starpu_fxt_stop_profiling();
|
|
|
|
|
|
if (ret == -ENODEV)
|
|
if (ret == -ENODEV)
|
|
return 77;
|
|
return 77;
|