aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CPP/ICPPKernel.h
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-01-18 10:04:05 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:43:42 +0000
commite8a4983c7bc00ad105389876a8eddd89ed4ef056 (patch)
treed04d3125a1f202875d87a25310ecb9c6c4aaef4c /arm_compute/core/CPP/ICPPKernel.h
parentfa7dc84396c7bf05257d82cd641a58c074136223 (diff)
downloadComputeLibrary-e8a4983c7bc00ad105389876a8eddd89ed4ef056.tar.gz
COMPMID-798 Add instrumentation to NEON kernels
Change-Id: I9dbb090cac731d68bd98a7d1c8ab0e1cb0a5c911 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/116746 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/CPP/ICPPKernel.h')
-rw-r--r--arm_compute/core/CPP/ICPPKernel.h8
1 files changed, 7 insertions, 1 deletions
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__ */