From b7d833901213d03fe5e7f10c15741f55c6c1eb54 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Fri, 7 Sep 2018 22:04:24 +0200 Subject: Reduced size of the xCONVGEMM correctness tests --- test/correctness/testblas.hpp | 4 ++-- test/correctness/tester.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/correctness/testblas.hpp b/test/correctness/testblas.hpp index 6c0abab6..e9a995fd 100644 --- a/test/correctness/testblas.hpp +++ b/test/correctness/testblas.hpp @@ -139,9 +139,9 @@ template const std::vector TestBlas::kBatc template const std::vector TestBlas::kPadSizes = { 0, 1 }; template const std::vector TestBlas::kDilationSizes = { 1, 2 }; template const std::vector TestBlas::kKernelSizes = { 1, 3 }; -template const std::vector TestBlas::kNumKernels = { 1, 67 }; +template const std::vector TestBlas::kNumKernels = { 1, 6 }; template const std::vector TestBlas::kStrideValues = { 1, 3 }; -template const std::vector TestBlas::kChannelValues = { 1, 4 }; +template const std::vector TestBlas::kChannelValues = { 1, 2 }; // Test settings for the invalid tests template const std::vector TestBlas::kInvalidIncrements = { 0, 1 }; diff --git a/test/correctness/tester.cpp b/test/correctness/tester.cpp index d6a346a6..daa43f26 100644 --- a/test/correctness/tester.cpp +++ b/test/correctness/tester.cpp @@ -370,6 +370,7 @@ std::string Tester::GetOptionsString(const Arguments &args) { if (o == kArgChannels) { result += kArgChannels + equals + ToString(args.channels) + " "; } if (o == kArgHeight) { result += kArgHeight + equals + ToString(args.height) + " "; } if (o == kArgWidth) { result += kArgWidth + equals + ToString(args.width) + " "; } + if (o == kArgNumKernels){result += kArgNumKernels + equals + ToString(args.num_kernels) + " "; } if (o == kArgKernelH) { result += kArgKernelH + equals + ToString(args.kernel_h) + " "; } if (o == kArgKernelW) { result += kArgKernelW + equals + ToString(args.kernel_w) + " "; } if (o == kArgPadH) { result += kArgPadH + equals + ToString(args.pad_h) + " "; } -- cgit v1.2.3