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

Method add_binary

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

Source from the content-addressed store, hash-verified

69}
70
71void TargetModule::add_binary(const std::string& sig, const std::vector<uint8_t>& vec) {
72 if (m_kern_bin_map.find(sig) == m_kern_bin_map.end()) {
73 m_kern_bin_map[sig] = vec;
74 }
75}
76
77void TargetModule::add_cv(
78 const std::string& sym, const std::string& sig, const std::string& body) {

Callers 1

gen_depend_kernelsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected