| 42 | }; |
| 43 | |
| 44 | std::vector<const KernelFunc*> Armv7::ArchKernelPack::GetKernel( |
| 45 | KernelPack::KernType kernel_type, const bool with_dot) { |
| 46 | static AllA32Kernel all_kernel; |
| 47 | std::vector<const KernelFunc*> ret_kernels; |
| 48 | if (with_dot) { |
| 49 | for (auto& kernel : all_kernel.inner_map_with_dot[kernel_type]) { |
| 50 | ret_kernels.push_back(kernel.get()); |
| 51 | } |
| 52 | } |
| 53 | for (auto& kernel : all_kernel.inner_map[kernel_type]) { |
| 54 | ret_kernels.push_back(kernel.get()); |
| 55 | } |
| 56 | return ret_kernels; |
| 57 | } |
| 58 | // vim: syntax=cpp.doxygen |