MLIR-AIE
|
#include <fstream>
#include <iostream>
#include <sstream>
#include "test_utils.h"
#include "xrt/xrt_bo.h"
Go to the source code of this file.
Classes | |
struct | args |
Functions | |
struct args | parse_args (int argc, const char *argv[]) |
template<typename T1 , typename T2 , typename T3 , void(*)(T1 *, int) init_bufIn1, void(*)(T2 *, int) init_bufIn2, void(*)(T3 *, int) init_bufOut, int(*)(T1 *, T2 *, T3 *, int, int) verify_results> | |
int | setup_and_run_aie (int IN1_VOLUME, int IN2_VOLUME, int OUT_VOLUME, struct args myargs) |
template<typename T1 , typename T3 , void(*)(T1 *, int) init_bufIn1, void(*)(T3 *, int) init_bufOut, int(*)(T1 *, T3 *, int, int) verify_results> | |
int | setup_and_run_aie (int IN1_VOLUME, int OUT_VOLUME, struct args myargs) |
struct args parse_args | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 23 of file xrt_test_wrapper.h.
References test_utils::add_default_options(), args::do_verify, args::instr, args::kernel, args::n_iterations, args::n_warmup_iterations, test_utils::parse_options(), args::trace_file, args::trace_size, args::verbosity, and args::xclbin.
int setup_and_run_aie | ( | int | IN1_VOLUME, |
int | IN2_VOLUME, | ||
int | OUT_VOLUME, | ||
struct args | myargs | ||
) |
Definition at line 55 of file xrt_test_wrapper.h.
References args::do_verify, test_utils::init_xrt_load_kernel(), args::instr, args::kernel, test_utils::load_instr_binary(), args::n_iterations, args::n_warmup_iterations, args::trace_file, args::trace_size, args::verbosity, test_utils::write_out_trace(), and args::xclbin.
int setup_and_run_aie | ( | int | IN1_VOLUME, |
int | OUT_VOLUME, | ||
struct args | myargs | ||
) |
Definition at line 232 of file xrt_test_wrapper.h.
References args::do_verify, test_utils::init_xrt_load_kernel(), args::instr, args::kernel, test_utils::load_instr_binary(), args::n_iterations, args::n_warmup_iterations, args::trace_file, args::trace_size, args::verbosity, test_utils::write_out_trace(), and args::xclbin.