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

Method usable

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

Source from the content-addressed store, hash-verified

436 }
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;

Callers 1

IsCVAvailableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected