|
| ArrayMathProgram (size_type array_size, size_type buffer_size, int num_threads=-1) |
| Constructor that allows overloading the default optimization parameters.
|
|
size_type | get_buffer_size () |
|
int | get_num_threads () |
| Get the number of threads.
|
|
size_type | get_array_size () |
| Set the size of the array to process.
|
|
void | set_array_size (size_type array_size) |
|
bool | add_source (std::string &name, DataBlockHandle data_block) |
|
bool | add_source (std::string &name, MaskDataBlockHandle mask_data_block) |
|
bool | add_sink (std::string &name, DataBlockHandle data_block) |
|
void | resize_const_variables (size_t sz) |
|
void | resize_single_variables (size_t sz) |
|
void | resize_sequential_variables (size_t sz) |
|
void | resize_const_functions (size_t sz) |
|
void | resize_single_functions (size_t sz) |
|
void | resize_sequential_functions (size_t sz) |
|
float * | create_buffer (size_t size) |
| Central buffer for all parameters.
|
|
void | set_const_variable (size_t j, ArrayMathProgramVariableHandle &handle) |
| Set variables which we use as temporal information structures.
|
|
void | set_single_variable (size_t j, ArrayMathProgramVariableHandle &handle) |
|
void | set_sequential_variable (size_t j, size_t np, ArrayMathProgramVariableHandle &handle) |
|
ArrayMathProgramVariableHandle | get_const_variable (size_t j) |
|
ArrayMathProgramVariableHandle | get_single_variable (size_t j) |
|
ArrayMathProgramVariableHandle | get_sequential_variable (size_t j, size_t np) |
|
void | set_const_program_code (size_t j, ArrayMathProgramCode &pc) |
| Set program code.
|
|
void | set_single_program_code (size_t j, ArrayMathProgramCode &pc) |
|
void | set_sequential_program_code (size_t j, size_t np, ArrayMathProgramCode &pc) |
|
bool | find_source (std::string &name, ArrayMathProgramSource &ps) |
| Code to find the pointers that are given for sources and sinks.
|
|
bool | find_sink (std::string &name, ArrayMathProgramSource &ps) |
|
bool | run_const (size_t &error_line) |
|
bool | run_single (size_t &error_line) |
|
bool | run_sequential (size_t &error_line) |
|
void | set_parser_program (ParserProgramHandle handle) |
|
ParserProgramHandle | get_parser_program () |
|
mutex_type & | get_mutex () const |
|