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

Method parse

src/driver/main.cpp:875–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873 bool show_ops = false;
874 std::string op_name{};
875 void parse(argument_parser& ap)
876 {
877 ap(op_name, {}, ap.metavar("<MIGraphX operator name>"));
878 ap(show_ops,
879 {"--list", "-l"},
880 ap.help("List all the operators of MIGraphX"),
881 ap.set_value(true));
882 }
883 void run() const
884 {
885 if(show_ops)

Callers 10

run_commandFunction · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls 3

metavarMethod · 0.80
helpMethod · 0.80
set_valueMethod · 0.80

Tested by

no test coverage detected