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

Method check_exec

src/process.cpp:355–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354 template <class... Ts>
355 void check_exec(Ts&&... xs) const
356 {
357 int ec = migraphx::exec(std::forward<Ts>(xs)...);
358 if(ec != 0)
359 MIGRAPHX_THROW("Command " + get_command() + " exited with status " +
360 std::to_string(ec));
361 }
362};
363
364process::process(const std::string& cmd, const std::vector<std::string>& args)

Callers 3

readMethod · 0.80
execMethod · 0.80
writeMethod · 0.80

Calls 2

execFunction · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected