cuda.c: copy_arrays_from_device: do not copy local arrays back to host
[ppcg.git] / print.c
blob70090bc50a8ea878e897dca68553d19912263aad
1 /*
2 * Copyright 2012 Ecole Normale Superieure
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege,
7 * Ecole Normale Superieure, 45 rue d’Ulm, 75230 Paris, France
8 */
10 #include <isl/aff.h>
12 #include "print.h"
14 __isl_give isl_printer *ppcg_start_block(__isl_take isl_printer *p)
16 p = isl_printer_start_line(p);
17 p = isl_printer_print_str(p, "{");
18 p = isl_printer_end_line(p);
19 p = isl_printer_indent(p, 2);
20 return p;
23 __isl_give isl_printer *ppcg_end_block(__isl_take isl_printer *p)
25 p = isl_printer_indent(p, -2);
26 p = isl_printer_start_line(p);
27 p = isl_printer_print_str(p, "}");
28 p = isl_printer_end_line(p);
29 return p;