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

Method mark

src/program.cpp:915–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915void program::mark(const parameter_map& params, marker m)
916{
917 auto& ctx = this->impl->contexts;
918 // Run once by itself
919 eval(params);
920 this->finish();
921 m.mark_start(*this);
922 generic_eval(*this, ctx, params, [&](auto ins, auto f) {
923 argument result;
924 m.mark_start(ins);
925 result = f();
926 m.mark_stop(ins);
927 return result;
928 });
929 m.mark_stop(*this);
930}
931
932void program::perf_report(
933 std::ostream& os, std::size_t n, parameter_map params, std::size_t batch, bool detailed) const

Callers 1

TEST_CASEFunction · 0.45

Calls 5

finishMethod · 0.95
generic_evalFunction · 0.85
evalFunction · 0.50
mark_startMethod · 0.45
mark_stopMethod · 0.45

Tested by

no test coverage detected