6 struct ppcg_debug_options
{
7 int dump_schedule_constraints
;
13 struct ppcg_debug_options
*debug
;
23 /* Take advantage of private memory. */
24 int use_private_memory
;
26 /* Take advantage of shared memory. */
27 int use_shared_memory
;
29 /* Maximal amount of shared memory. */
30 int max_shared_memory
;
32 /* The target we generate code for. */
35 /* Generate OpenMP macros (C target only). */
38 /* Linearize all device arrays. */
39 int linearize_device_arrays
;
41 /* Allow live range to be reordered. */
42 int live_range_reordering
;
44 /* Options to pass to the OpenCL compiler. */
45 char *opencl_compiler_options
;
46 /* Prefer GPU device over CPU. */
48 /* Number of files to include. */
49 int opencl_n_include_file
;
50 /* Files to include. */
51 const char **opencl_include_files
;
54 ISL_ARG_DECL(ppcg_debug_options
, struct ppcg_debug_options
,
55 ppcg_debug_options_args
)
56 ISL_ARG_DECL(ppcg_options
, struct ppcg_options
, ppcg_options_args
)
58 #define PPCG_TARGET_C 0
59 #define PPCG_TARGET_CUDA 1
60 #define PPCG_TARGET_OPENCL 2