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

Function TEST

compiler/test/kernel/opr/armv7/benchmark_conv.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62TEST(ARMV7, BenchmarkConv1x1NCHW44) {
63 std::string cc_algo = "";
64 std::string dnn_algo = "";
65 for (auto mode :
66 {ConvBiasForward::Param::NonlineMode::IDENTITY,
67 ConvBiasForward::Param::NonlineMode::RELU,
68 ConvBiasForward::Param::NonlineMode::SIGMOID}) {
69 run_conv(
70 1, 32, 71, 32, 1, 1, 0, cc_algo, dnn_algo,
71 ConvBiasForward::Param::Format::NCHW44, false, mode);
72 }
73}
74
75TEST(ARMV7, BenchmarkConvBiasIm2col) {
76 std::string cc_algo = "Armv7_kernel_conv2d_im2col.*";

Callers

nothing calls this directly

Calls 3

printMethod · 0.80
run_convFunction · 0.70
execsMethod · 0.45

Tested by

no test coverage detected