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

Method get_func

compiler/lib/KernelGen/GeneralIntrinsic/CvtColor.cpp:439–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437
438 bool usable(const std::string& mode) { return reg_map.find(mode) != reg_map.end(); }
439 GenFunc get_func(const std::string& mode) { return reg_map[mode].func; }
440 std::string get_mode_sym(const std::string& mode) {
441 return reg_map[mode].mode_symbol;
442 }

Callers 1

GetCVKernelBodyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected