6 struct ppcg_debug_options
{
7 int dump_schedule_constraints
;
14 struct ppcg_debug_options
*debug
;
24 /* Take advantage of private memory. */
25 int use_private_memory
;
27 /* Take advantage of shared memory. */
28 int use_shared_memory
;
30 /* Maximal amount of shared memory. */
31 int max_shared_memory
;
33 /* The target we generate code for. */
36 /* Generate OpenMP macros (C target only). */
39 /* Linearize all device arrays. */
40 int linearize_device_arrays
;
42 /* Allow live range to be reordered. */
43 int live_range_reordering
;
45 /* Options to pass to the OpenCL compiler. */
46 char *opencl_compiler_options
;
47 /* Prefer GPU device over CPU. */
49 /* Number of files to include. */
50 int opencl_n_include_file
;
51 /* Files to include. */
52 const char **opencl_include_files
;
53 /* Embed OpenCL kernel code in host code. */
54 int opencl_embed_kernel_code
;
57 ISL_ARG_DECL(ppcg_debug_options
, struct ppcg_debug_options
,
58 ppcg_debug_options_args
)
59 ISL_ARG_DECL(ppcg_options
, struct ppcg_options
, ppcg_options_args
)
61 #define PPCG_TARGET_C 0
62 #define PPCG_TARGET_CUDA 1
63 #define PPCG_TARGET_OPENCL 2