38 #define HELPER "_helper_"
41 #define cat(args...) concatenate(args , NULL)
42 #define sb_cat(args...) string_buffer_cat(args , NULL)
43 #define sb_prf(args...) string_buffer_printf(args)
46 #define FREIA_IMAGE_TYPE "freia_data2d"
47 #define FREIA_OUTPUT "freia_common_tx_image"
48 #define FREIA_ALLOC "freia_common_create_data"
49 #define FREIA_FREE "freia_common_destruct_data"
51 #define AIPO "freia_aipo_"
52 #define FREIA_IMAGE FREIA_IMAGE_TYPE " * "
53 #define FREIA_DEFAULT_BPP get_int_property("FREIA_PIXEL_SIZE")
54 #define FREIA_DEFAULT_HEIGHT get_int_property("FREIA_IMAGE_HEIGHT")
55 #define FREIA_DEFAULT_WIDTH get_int_property("FREIA_IMAGE_WIDTH")
58 #define freia_aipo_p(s) same_string_p((s), "aipo")
59 #define freia_spoc_p(s) same_string_p((s), "spoc")
60 #define freia_terapix_p(s) same_string_p((s), "terapix")
61 #define freia_opencl_p(s) same_string_p((s), "opencl")
62 #define freia_sigmac_p(s) same_string_p((s), "sigmac")
63 #define freia_mppa_p(s) same_string_p((s), "mppa")
65 #define freia_valid_target_p(s) \
66 (freia_spoc_p(s) || freia_terapix_p(s) || freia_aipo_p(s) || \
67 freia_opencl_p(s) || freia_sigmac_p(s) || freia_mppa_p(s))
85 string arg_out_types[3];
86 string arg_in_types[3];
97 #define dagvtx_freia_api(v) get_freia_api(vtxcontent_opid(dagvtx_content(v)))
FREIA API function name -> SPoC hardware description (and others?)
unsigned int arg_misc_out
FREIA-MPPA backend specific stuff.
description of a SPoC hardware configuration should be precise enough to generate a full AIPO functio...