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

Method GetCVKernelSubSymbol

compiler/lib/KernelGen/Arm/ArmCommon/CVTranspose.cpp:22–27  ·  view source on GitHub ↗

kernel gen

Source from the content-addressed store, hash-verified

20
21//! kernel gen
22std::string CvTransposeKernel::GetCVKernelSubSymbol(TContext* context) const {
23 std::stringstream ss;
24 auto src_dtype = context->getAttrOprand("operand:0").dtype;
25 ss << "tinycv_transpose_" << src_dtype;
26 return ss.str();
27}
28
29std::string CvTransposeKernel::GetCVKernelSignature(TContext* context) const {
30 return GetCVKernelSymbol(context) + "(const TinyMat* src, const TinyMat* dst)";

Callers

nothing calls this directly

Calls 1

getAttrOprandMethod · 0.80

Tested by

no test coverage detected