6 struct ppcg_debug_options
{
7 int dump_schedule_constraints
;
12 struct ppcg_debug_options
*debug
;
22 /* Take advantage of private memory. */
23 int use_private_memory
;
25 /* Take advantage of shared memory. */
26 int use_shared_memory
;
28 /* Maximal amount of shared memory. */
29 int max_shared_memory
;
31 /* The target we generate code for. */
34 /* Generate OpenMP macros (C target only). */
37 /* Linearize all device arrays. */
38 int linearize_device_arrays
;
40 /* Allow live range to be reordered. */
41 int live_range_reordering
;
43 /* Options to pass to the OpenCL compiler. */
44 char *opencl_compiler_options
;
45 /* Prefer GPU device over CPU. */
49 ISL_ARG_DECL(ppcg_debug_options
, struct ppcg_debug_options
,
50 ppcg_debug_options_args
)
51 ISL_ARG_DECL(ppcg_options
, struct ppcg_options
, ppcg_options_args
)
53 #define PPCG_TARGET_C 0
54 #define PPCG_TARGET_CUDA 1
55 #define PPCG_TARGET_OPENCL 2