From e8a4983c7bc00ad105389876a8eddd89ed4ef056 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 18 Jan 2018 10:04:05 +0000 Subject: COMPMID-798 Add instrumentation to NEON kernels Change-Id: I9dbb090cac731d68bd98a7d1c8ab0e1cb0a5c911 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/116746 Reviewed-by: Georgios Pinitas Reviewed-by: Pablo Tello Tested-by: Anthony Barbier --- arm_compute/core/NEON/kernels/NEAccumulateKernel.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'arm_compute/core/NEON/kernels/NEAccumulateKernel.h') diff --git a/arm_compute/core/NEON/kernels/NEAccumulateKernel.h b/arm_compute/core/NEON/kernels/NEAccumulateKernel.h index fa8a3be92f..ad5a16c9f3 100644 --- a/arm_compute/core/NEON/kernels/NEAccumulateKernel.h +++ b/arm_compute/core/NEON/kernels/NEAccumulateKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -40,6 +40,10 @@ class ITensor; class NEAccumulateKernel : public INESimpleKernel { public: + const char *name() const override + { + return "NEAccumulateKernel"; + } /** Set the input and accumulation tensors * * @param[in] input Source tensor. Data type supported: U8. @@ -63,6 +67,10 @@ public: class NEAccumulateWeightedKernel : public INESimpleKernel { public: + const char *name() const override + { + return "NEAccumulateWeightedKernel"; + } /** Default constructor */ NEAccumulateWeightedKernel(); /** Set the input and accumulation tensors, and the scale value @@ -85,6 +93,10 @@ protected: class NEAccumulateWeightedFP16Kernel : public NEAccumulateWeightedKernel { public: + const char *name() const override + { + return "NEAccumulateWeightedFP16Kernel"; + } // Inherited methods overridden: void run(const Window &window, const ThreadInfo &info) override; }; @@ -102,6 +114,10 @@ using NEAccumulateWeightedFP16Kernel = NEAccumulateWeightedKernel; class NEAccumulateSquaredKernel : public INESimpleKernel { public: + const char *name() const override + { + return "NEAccumulateSquaredKernel"; + } /** Default constructor */ NEAccumulateSquaredKernel(); /** Set the input and accumulation tensors and the shift value. -- cgit v1.2.1