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

Function GetDeduceLayout

compiler/lib/KernelGen/KernelGen.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20std::string DumpHelper::ARM64V7_ARMV7_POSTFIX = ARM64V7_COMMON_POSTFIX + "_armv7";
21
22DeduceFunc* GetDeduceLayout(KernelPack::KernType kernel_type) {
23 static DeduceLayoutMap deduce_map;
24 return deduce_map.map[kernel_type].get();
25}
26
27std::pair<std::vector<const KernelFunc*>, const DeduceFunc*> KernelPack::GetKernel(
28 KernelPack::KernType kernel_type, Arch arch) {

Callers 1

GetKernelMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected