From bf2fb95c99ebd215b3c0d93cb970461185ef9716 Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Fri, 29 Sep 2017 16:43:25 +0100 Subject: COMPMID-481: Add gemmlowp_aarch64_v8p4 kernel. Change-Id: I15496b16ffd636f5bff76572e750df7e15c80830 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/90532 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- tests/NEON/Helper.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tests/NEON') diff --git a/tests/NEON/Helper.h b/tests/NEON/Helper.h index 4efab17fca..8bd11cc57b 100644 --- a/tests/NEON/Helper.h +++ b/tests/NEON/Helper.h @@ -25,6 +25,8 @@ #define __ARM_COMPUTE_TEST_NEON_HELPER_H__ #include "arm_compute/runtime/Array.h" +#include "arm_compute/runtime/NEON/INESimpleFunction.h" +#include "support/ToolchainSupport.h" #include "tests/Globals.h" #include @@ -48,6 +50,20 @@ void fill_tensors(D &&dist, std::initializer_list seeds, T &&tensor, Ts &&. } } +// This template synthetizes an INESimpleFunction which runs the given kernel K +template +class NESynthetizeFunction : public INESimpleFunction +{ +public: + template + void configure(Args &&... args) + { + auto k = arm_compute::support::cpp14::make_unique(); + k->configure(std::forward(args)...); + _kernel = std::move(k); + } +}; + } // namespace test } // namespace arm_compute #endif /* __ARM_COMPUTE_TEST_NEON_HELPER_H__ */ -- cgit v1.2.1