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

Function TEST_CASE

test/matcher.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42TEST_CASE(match_name1)
43{
44 migraphx::module mm;
45 auto one = mm.add_literal(1);
46 auto two = mm.add_literal(2);
47 auto sum = mm.add_instruction(sum_op{}, one, two);
48 mm.add_instruction(pass_op{}, sum);
49 auto m = match::name("sum");
50 auto r = find_match(mm, m);
51 EXPECT(r.result == sum);
52}
53
54TEST_CASE(match_name2)
55{

Callers

nothing calls this directly

Calls 15

find_matchFunction · 0.85
nargsFunction · 0.85
argsFunction · 0.85
either_argFunction · 0.85
noneClass · 0.85
containsFunction · 0.85
skip_outputFunction · 0.85
treeFunction · 0.85
unordered_treeFunction · 0.85
find_matchesClass · 0.85
get_main_moduleMethod · 0.80
argFunction · 0.70

Tested by

no test coverage detected