Removing silent check before computing parallel loops. Print Remapping matrix only if silent option is not set.
@@ -753,7 +753,7 @@ __isl_give isl_union_map *pluto_parallel_schedule_with_remapping(isl_union_set *
}
}
- if (options->parallel && !options->silent) {
+ if (options->parallel) {
*ploops = pluto_get_parallel_loops(prog, nploops);
printf("[pluto_mark_parallel] %d parallel loops\n", *nploops);
pluto_loops_print(*ploops, *nploops);
@@ -770,11 +770,14 @@ __isl_give isl_union_map *pluto_parallel_schedule_with_remapping(isl_union_set *
*remap = remapping;
for(i = 0; i < prog->nstmts; i++) {
- printf("Statement %d Id- %d\n",i,prog->stmts[i]->id);
remapping->stmt_inv_matrices[i] = pluto_stmt_get_remapping(prog->stmts[i],
&remapping->stmt_divs[i]);
+ if(!options->silent)
+ {
+ printf("Statement %d Id- %d\n",i,prog->stmts[i]->id);
pluto_matrix_print(stdout, remapping->stmt_inv_matrices[i]);
}
+ }
/* Construct isl_union_map for pluto schedules */
isl_union_map *schedules = isl_union_map_empty(isl_space_copy(space));
