MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / run

Method run

test/verify/run_verify.cpp:260–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void run_verify::run(int argc, const char* argv[]) const
261{
262 std::unordered_map<std::string, std::vector<std::string>> labels;
263 for(auto&& p : get_programs())
264 {
265 labels[p.section].push_back(p.name);
266 test::add_test_case(p.name, [=] { verify(p); });
267 }
268 test::driver d{};
269 d.get_case_names = [&](const std::string& name) -> std::vector<std::string> {
270 if(labels.count(name) > 0)
271 return labels.at(name);
272 return {name};
273 };
274 d.run(argc, argv);
275}
276
277void run_verify::disable_parallel_for(const std::string& name) { info[name].parallel = false; }
278void run_verify::add_validation_for(const std::string& name, target_info::validation_function v)

Callers 15

runFunction · 0.45
clang_formatFunction · 0.45
api_generateFunction · 0.45
te_generateFunction · 0.45
run_one_caseFunction · 0.45
mainFunction · 0.45
_inferenceFunction · 0.45
mainFunction · 0.45
main.cppFile · 0.45
test_conv_reluFunction · 0.45
test_conv_reluFunction · 0.45
test_sub_uint64Function · 0.45

Calls 3

verifyClass · 0.85
atMethod · 0.80
push_backMethod · 0.45

Tested by 15

run_one_caseFunction · 0.36
test_conv_reluFunction · 0.36
test_conv_reluFunction · 0.36
test_sub_uint64Function · 0.36
test_neg_int64Function · 0.36
test_nonzeroFunction · 0.36
test_fp16_imagescalerFunction · 0.36
test_if_plFunction · 0.36
run_progFunction · 0.36
test_conv_reluFunction · 0.36
test_add_scalarFunction · 0.36
test_add_fillFunction · 0.36