|
MLIR-AIE 1.4.5.dev
|
Classes | |
| class | ParameterScratchpad |
Typedefs | |
| using | bfloat16_t = std::uint16_t |
Functions | |
| void | check_arg_file_exists (const cxxopts::ParseResult &result, std::string name) |
| void | add_default_options (cxxopts::Options &options) |
| void | parse_options (int argc, const char *argv[], cxxopts::Options &options, cxxopts::ParseResult &result) |
| std::vector< uint32_t > | load_instr_sequence (std::string instr_path) |
| std::vector< uint32_t > | load_instr_binary (std::string instr_path) |
| std::string | get_kernel_name (const xrt::xclbin &xclbin, const std::string &name_prefix, int verbosity=0) |
| void | init_xrt_load_kernel (xrt::device &device, xrt::kernel &kernel, int verbosity, std::string xclbinFileName, std::string kernelNameInXclbin) |
| bool | nearly_equal (float a, float b, float epsilon=128 *FLT_EPSILON, float abs_th=FLT_MIN) |
| template<typename T> | |
| void | print_matrix (const std::vector< T > matrix, int n_cols, int n_printable_rows=10, int n_printable_cols=10, std::ostream &ostream=std::cout, const char col_sep[]=" ", const char elide_sym[]=" ... ", int w=-1) |
| void | write_out_trace (char *traceOutPtr, size_t trace_size, std::string path) |
| using test_utils::bfloat16_t = std::uint16_t |
Definition at line 89 of file test_utils.h.
| void test_utils::add_default_options | ( | cxxopts::Options & | options | ) |
Definition at line 34 of file test_utils.cpp.
Referenced by parse_args().
| void test_utils::check_arg_file_exists | ( | const cxxopts::ParseResult & | result, |
| std::string | name ) |
Definition at line 23 of file test_utils.cpp.
Referenced by parse_options().
| std::string test_utils::get_kernel_name | ( | const xrt::xclbin & | xclbin, |
| const std::string & | name_prefix, | ||
| int | verbosity = 0 ) |
| void test_utils::init_xrt_load_kernel | ( | xrt::device & | device, |
| xrt::kernel & | kernel, | ||
| int | verbosity, | ||
| std::string | xclbinFileName, | ||
| std::string | kernelNameInXclbin ) |
Referenced by setup_and_run_aie().
| std::vector< uint32_t > test_utils::load_instr_binary | ( | std::string | instr_path | ) |
Definition at line 98 of file test_utils.cpp.
Referenced by setup_and_run_aie().
| std::vector< uint32_t > test_utils::load_instr_sequence | ( | std::string | instr_path | ) |
Definition at line 83 of file test_utils.cpp.
| bool test_utils::nearly_equal | ( | float | a, |
| float | b, | ||
| float | epsilon = 128 * FLT_EPSILON, | ||
| float | abs_th = FLT_MIN ) |
Definition at line 193 of file test_utils.cpp.
| void test_utils::parse_options | ( | int | argc, |
| const char * | argv[], | ||
| cxxopts::Options & | options, | ||
| cxxopts::ParseResult & | result ) |
Definition at line 55 of file test_utils.cpp.
References check_arg_file_exists().
Referenced by parse_args().
| void test_utils::print_matrix | ( | const std::vector< T > | matrix, |
| int | n_cols, | ||
| int | n_printable_rows = 10, | ||
| int | n_printable_cols = 10, | ||
| std::ostream & | ostream = std::cout, | ||
| const char | col_sep[] = " ", | ||
| const char | elide_sym[] = " ... ", | ||
| int | w = -1 ) |
Definition at line 145 of file test_utils.h.
References print_row.
| void test_utils::write_out_trace | ( | char * | traceOutPtr, |
| size_t | trace_size, | ||
| std::string | path ) |
Definition at line 214 of file test_utils.cpp.
Referenced by setup_and_run_aie().