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

Function GenCommonInitCall

compiler/lib/KernelGen/KernelGen.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 const Workspace* workspace, const RuntimeOpt* opt))";
133}
134std::string GenCommonInitCall() {
135 return R"((
136 Tensor** inputs, int nr_input, Tensor* out_weights,
137 int* nr_out_weight, const RuntimeOpt* opt))";
138}
139std::string GenCommonWorkspaceCall() {
140 return R"((
141 Tensor** inputs, int nr_input, int nr_thread, size_t* workspace))";

Callers 2

get_helper_module_strMethod · 0.85
GetInitSignatureMethod · 0.85

Calls

no outgoing calls

Tested by 1

get_helper_module_strMethod · 0.68