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/CPP/ICPPKernel.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'arm_compute/core/CPP/ICPPKernel.h') diff --git a/arm_compute/core/CPP/ICPPKernel.h b/arm_compute/core/CPP/ICPPKernel.h index 54717caf80..17f263264b 100644 --- a/arm_compute/core/CPP/ICPPKernel.h +++ b/arm_compute/core/CPP/ICPPKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -50,6 +50,12 @@ public: * @param[in] info Info about executing thread and CPU. */ virtual void run(const Window &window, const ThreadInfo &info) = 0; + + /** Name of the kernel + * + * @return Kernel name + */ + virtual const char *name() const = 0; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_ICPPKERNEL_H__ */ -- cgit v1.2.1