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

Method total_instructions

src/program.cpp:573–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573std::size_t program::total_instructions() const
574{
575 return transform_accumulate(impl->modules.begin(),
576 impl->modules.end(),
577 std::size_t{0},
578 std::plus<>{},
579 [](const auto& p) { return p.second.size(); });
580}
581
582std::vector<argument> program::eval_with_context(std::vector<context>& ctx,
583 const parameter_map& params) const

Callers 1

generic_evalFunction · 0.80

Calls 4

transform_accumulateFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected