Tiramisu Compiler
|
A class that holds all the global variables necessary for Tiramisu. More...
#include <expr.h>
Public Member Functions | |
global () | |
Static Public Member Functions | |
static function * | get_implicit_function () |
Return the implicit function created during Tiramisu initialization. More... | |
static void | set_implicit_function (function *fct) |
Return the implicit function created during Tiramisu initialization. More... | |
static void | set_auto_data_mapping (bool v) |
If this option is set to true, Tiramisu automatically modifies the computation data mapping whenever a new schedule is applied to a computation. More... | |
static bool | is_auto_data_mapping_set () |
Return whether auto data mapping is set. More... | |
static void | set_default_tiramisu_options () |
static void | set_loop_iterator_type (primitive_t t) |
static primitive_t | get_loop_iterator_data_type () |
A class that holds all the global variables necessary for Tiramisu.
It also holds Tiramisu options.
|
inline |
Definition at line 139 of file expr.h.
References set_default_tiramisu_options().
|
inlinestatic |
Return the implicit function created during Tiramisu initialization.
When Tiramisu is initialized, an implicit Tiramisu function is created. All the computations and buffers created later are added by deafult to this function unless the user indicates otherwise using the Tiramisu API (by using the low level Tiramisu API and by providing a different function as input to the API).
|
inlinestatic |
|
inlinestatic |
Return whether auto data mapping is set.
If auto data mapping is set, Tiramisu automatically modifies the computation data mapping whenever a new schedule is applied to a computation. If it is set to false, it is up to the user to set the right data mapping before code generation.
|
inlinestatic |
If this option is set to true, Tiramisu automatically modifies the computation data mapping whenever a new schedule is applied to a computation.
If it is set to false, it is up to the user to set the right data mapping before code generation.
Definition at line 106 of file expr.h.
Referenced by set_default_tiramisu_options().
|
inlinestatic |
Definition at line 124 of file expr.h.
References tiramisu::p_int32, and set_auto_data_mapping().
Referenced by global().
|
inlinestatic |
Return the implicit function created during Tiramisu initialization.
When Tiramisu is initialized, an implicit Tiramisu function is created. All the computations and buffers created later are added by deafult to this function unless the user indicates otherwise using the Tiramisu API (by using the low level Tiramisu API and by providing a different function as input to the API).
|
inlinestatic |