29 #ifndef HWAC_FREIA_TERAPIX_H_
30 #define HWAC_FREIA_TERAPIX_H_
33 #define trpx_mem_prop "HWAC_TERAPIX_RAMPE"
34 #define trpx_npe_prop "HWAC_TERAPIX_NPE"
35 #define trpx_dmabw_prop "HWAC_TERAPIX_DMABW"
36 #define trpx_gram_width "HWAC_TERAPIX_GRAM_WIDTH"
37 #define trpx_gram_height "HWAC_TERAPIX_GRAM_HEIGHT"
38 #define trpx_dag_cut "HWAC_TERAPIX_DAG_CUT"
39 #define trpx_overlap_io "HWAC_TERAPIX_OVERLAP_IO"
40 #define trpx_max_size "HWAC_TERAPIX_IMAGELET_MAX_SIZE"
43 #define trpx_dag_cut_none_p(s) same_string_p(s, "none")
44 #define trpx_dag_cut_compute_p(s) same_string_p(s, "compute")
45 #define trpx_dag_cut_enumerate_p(s) same_string_p(s, "enumerate")
46 #define trpx_dag_cut_is_valid(s) \
47 trpx_dag_cut_none_p(s) || \
48 trpx_dag_cut_compute_p(s) || \
49 trpx_dag_cut_enumerate_p(s)
51 #define trpx_overlap_io_p() get_bool_property(trpx_overlap_io)
54 #define FREIA_TRPX_INCLUDES \
55 "// freia terapix includes\n" \
56 "#include <freiaCommon.h>\n" \
57 "#include <freiaMediumGrain.h>\n" \
58 "#include <freiaCoarseGrain.h>\n" \
59 "#include <terapix.h>\n" \
60 "#include <terapix_ucode.h>\n"
65 int north, south,
east, west;