Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/runtime_src/core/tools/xbutil2/SubCmdValidate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ SubCmdValidate::execute(const SubCmdOptions& _options) const
}
// -- Run the tests --------------------------------------------------
std::ostringstream oSchemaOutput;
bool has_failures = run_tests_on_devices(device, schemaVersion, testObjectsToRun, oSchemaOutput, options.m_iter);
bool has_failures = run_tests_on_devices(device, schemaVersion, testObjectsToRun, oSchemaOutput, options.m_loop);

try {
//reset pmode
Expand Down Expand Up @@ -676,7 +676,7 @@ void SubCmdValidate::fill_option_values(const po::variables_map& vm, SubCmdValid
options.m_xclbin_path = vm.count("path") ? vm["path"].as<std::string>() : "";
options.m_pmode = vm.count("pmode") ? vm["pmode"].as<std::string>() : "";
options.m_tests_to_run = vm.count("run") ? vm["run"].as<std::vector<std::string>>() : std::vector<std::string>();
options.m_iter = vm.count("iter") ? static_cast<unsigned int>(std::stoul(vm["iter"].as<std::string>())) : 1;
options.m_loop = vm.count("loop") ? static_cast<unsigned int>(std::stoul(vm["loop"].as<std::string>())) : 1;
options.m_help = vm.count("help") ? vm["help"].as<bool>() : false;
options.m_elf = vm.count("elf") ? vm["elf"].as<bool>() : false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime_src/core/tools/xbutil2/SubCmdValidate.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct SubCmdValidateOptions {
std::string m_xclbin_path;
std::string m_pmode;
std::vector<std::string> m_tests_to_run;
unsigned int m_iter;
unsigned int m_loop;
bool m_elf;
bool m_help;
};
Expand Down
Loading