update pet to version 0.02
[ppcg.git] / ppcg_options.h
blobe6da829465d1076c9ff1c5f4e94ef89a5d8e98bf
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;
28 ISL_ARG_DECL(ppcg_options, struct ppcg_options, ppcg_options_args)
30 #define PPCG_TARGET_C 0
31 #define PPCG_TARGET_CUDA 1
33 #endif