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

Method GetKernel

compiler/lib/KernelGen/Arm/ArmCommon/KernelPack.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78} // namespace
79
80std::vector<const KernelFunc*> ArchKernelPack::GetKernel(
81 KernelPack::KernType kernel_type) {
82 static AllArmCommonKernel all_kernel;
83 std::vector<const KernelFunc*> ret_kernels;
84 for (auto& kernel : all_kernel.inner_map[kernel_type]) {
85 ret_kernels.push_back(kernel.get());
86 }
87 return ret_kernels;
88}
89
90// vim: syntax=cpp.doxygen

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected