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

Function getCmdOption

examples/migraphx/cpp_parse_load_save/parse_load_save.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114char* getCmdOption(char** begin, char** end, const std::string& option)
115{
116 char** itr = std::find(begin, end, option);
117 if(itr != end and ++itr != end)
118 {
119 return *itr;
120 }
121
122 return nullptr;
123}
124
125bool cmdOptionExists(char** begin, char** end, const std::string& option)
126{

Callers 1

mainFunction · 0.85

Calls 1

findFunction · 0.85

Tested by

no test coverage detected