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

Function TEST_CASE

test/const_eval_test.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75TEST_CASE(literal_test)
76{
77 migraphx::program p;
78
79 auto* mm = p.get_main_module();
80 auto lit = mm->add_literal(1);
81 CHECK(lit->eval() == migraphx::literal{1});
82}
83
84TEST_CASE(param_test)
85{

Callers

nothing calls this directly

Calls 8

get_main_moduleMethod · 0.80
add_parameterMethod · 0.80
get_argumentMethod · 0.80
add_literalMethod · 0.45
evalMethod · 0.45
emptyMethod · 0.45
add_instructionMethod · 0.45
computeMethod · 0.45

Tested by

no test coverage detected