|
@@ -89,7 +89,7 @@ static int _cholesky(starpu_data_handle_t dataA, unsigned nblocks)
|
|
|
|
|
|
start = starpu_timing_now();
|
|
|
|
|
|
- if (bound)
|
|
|
+ if (bound || bound_lp)
|
|
|
starpu_bound_start(bound_deps, 0);
|
|
|
/* create all the DAG nodes */
|
|
|
for (k = 0; k < nblocks; k++)
|
|
@@ -140,7 +140,7 @@ static int _cholesky(starpu_data_handle_t dataA, unsigned nblocks)
|
|
|
}
|
|
|
|
|
|
starpu_task_wait_for_all();
|
|
|
- if (bound)
|
|
|
+ if (bound || bound_lp)
|
|
|
starpu_bound_stop();
|
|
|
|
|
|
end = starpu_timing_now();
|
|
@@ -159,8 +159,6 @@ static int _cholesky(starpu_data_handle_t dataA, unsigned nblocks)
|
|
|
FPRINTF(stderr, "Synthetic GFlops : %2.2f\n", (flop/timing/1000.0f));
|
|
|
if (bound_lp)
|
|
|
{
|
|
|
- if (!bound)
|
|
|
- FPRINTF(stderr,"Warning: -bound-lp needs -bound\n");
|
|
|
FILE *f = fopen("cholesky.lp", "w");
|
|
|
starpu_bound_print_lp(f);
|
|
|
}
|