MCPcopy Create free account
hub / github.com/MegEngine/MegCC / get_func

Method get_func

compiler/lib/KernelGen/BareMetal/CvtColor.cpp:239–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238 bool usable(const std::string& mode) { return reg_map.find(mode) != reg_map.end(); }
239 GenFunc get_func(const std::string& mode) { return reg_map[mode].func; }
240 std::string get_mode_sym(const std::string& mode) {
241 return reg_map[mode].mode_symbol;
242 }

Callers 1

GetCVKernelBodyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected