update pet for change in representation of pet_expr objects of type double
[ppcg.git] / ppcg_options.h
blobd7417371b8f7b87fff43f1572615e654cad8c350
1 #ifndef PPCG_OPTIONS_H
2 #define PPCG_OPTIONS_H
4 #include <isl/arg.h>
6 struct ppcg_options {
7 int scale_tile_loops;
8 int wrap;
10 char *ctx;
11 char *sizes;
13 int tile_size;
15 /* Take advantage of private memory. */
16 int use_private_memory;
18 /* Take advantage of shared memory. */
19 int use_shared_memory;
21 /* Maximal amount of shared memory. */
22 int max_shared_memory;
24 /* The target we generate code for. */
25 int target;
27 /* Generate OpenMP macros (C target only). */
28 int openmp;
31 ISL_ARG_DECL(ppcg_options, struct ppcg_options, ppcg_options_args)
33 #define PPCG_TARGET_C 0
34 #define PPCG_TARGET_CUDA 1
36 #endif