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

Method exist

compiler/test/kernel/common/src/target_module.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39} // namespace
40
41bool TargetModule::exist(const std::string& sig) const {
42 return m_kern_map.count(sig) != 0;
43}
44
45void TargetModule::add(
46 const std::string& sig, const std::string& body, const std::string& init_sig,

Callers 2

gen_kernel_cvFunction · 0.80
gen_kernelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected