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

Function GenCommonCall

compiler/lib/KernelGen/KernelGen.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 return "#include <data_struct.h>";
128}
129std::string GenCommonCall() {
130 return R"((
131 Tensor** inputs, int nr_input, Tensor** outputs, int nr_output,
132 const Workspace* workspace, const RuntimeOpt* opt))";
133}
134std::string GenCommonInitCall() {
135 return R"((
136 Tensor** inputs, int nr_input, Tensor* out_weights,

Callers 2

get_helper_module_strMethod · 0.85
GetKernelSignatureMethod · 0.85

Calls

no outgoing calls

Tested by 1

get_helper_module_strMethod · 0.68