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

Method get_mode_sym

compiler/lib/KernelGen/Arm/ArmCommon/CvtColor.cpp:423–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421 bool usable(const std::string& mode) { return reg_map.find(mode) != reg_map.end(); }
422 GenFunc get_func(const std::string& mode) { return reg_map[mode].func; }
423 std::string get_mode_sym(const std::string& mode) {
424 return reg_map[mode].mode_symbol;
425 }
426 std::unordered_map<std::string, CvtColorRegEntry> reg_map;
427};
428

Callers 1

GetCVKernelSubSymbolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected