aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CPP
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CPP')
-rw-r--r--arm_compute/core/CPP/ICPPKernel.h8
-rw-r--r--arm_compute/core/CPP/kernels/CPPCornerCandidatesKernel.h6
-rw-r--r--arm_compute/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.h6
-rw-r--r--arm_compute/core/CPP/kernels/CPPPermuteKernel.h6
-rw-r--r--arm_compute/core/CPP/kernels/CPPSortEuclideanDistanceKernel.h6
5 files changed, 27 insertions, 5 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__ */
diff --git a/arm_compute/core/CPP/kernels/CPPCornerCandidatesKernel.h b/arm_compute/core/CPP/kernels/CPPCornerCandidatesKernel.h
index 580264ec90..b89816ef15 100644
--- a/arm_compute/core/CPP/kernels/CPPCornerCandidatesKernel.h
+++ b/arm_compute/core/CPP/kernels/CPPCornerCandidatesKernel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -40,6 +40,10 @@ using IImage = ITensor;
class CPPCornerCandidatesKernel : public INEKernel
{
public:
+ const char *name() const override
+ {
+ return "CPPCornerCandidatesKernel";
+ }
/** Default constructor */
CPPCornerCandidatesKernel();
/** Prevent instances of this class from being copied (As this class contains pointers) */
diff --git a/arm_compute/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.h b/arm_compute/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.h
index 9ca7c64a13..87766a7a56 100644
--- a/arm_compute/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.h
+++ b/arm_compute/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -39,6 +39,10 @@ namespace arm_compute
class CPPDetectionWindowNonMaximaSuppressionKernel : public ICPPKernel
{
public:
+ const char *name() const override
+ {
+ return "CPPDetectionWindowNonMaximaSuppressionKernel";
+ }
/** Default constructor */
CPPDetectionWindowNonMaximaSuppressionKernel();
/** Prevent instances of this class from being copied (As this class contains pointers) */
diff --git a/arm_compute/core/CPP/kernels/CPPPermuteKernel.h b/arm_compute/core/CPP/kernels/CPPPermuteKernel.h
index 0e7c93877e..3d6b43641e 100644
--- a/arm_compute/core/CPP/kernels/CPPPermuteKernel.h
+++ b/arm_compute/core/CPP/kernels/CPPPermuteKernel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -37,6 +37,10 @@ class ITensor;
class CPPPermuteKernel : public ICPPKernel
{
public:
+ const char *name() const override
+ {
+ return "CPPPermuteKernel";
+ }
/** Default constructor */
CPPPermuteKernel();
/** Prevent instances of this class from being copied (As this class contains pointers) */
diff --git a/arm_compute/core/CPP/kernels/CPPSortEuclideanDistanceKernel.h b/arm_compute/core/CPP/kernels/CPPSortEuclideanDistanceKernel.h
index fddd4254bf..1f16177b3b 100644
--- a/arm_compute/core/CPP/kernels/CPPSortEuclideanDistanceKernel.h
+++ b/arm_compute/core/CPP/kernels/CPPSortEuclideanDistanceKernel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -36,6 +36,10 @@ namespace arm_compute
class CPPSortEuclideanDistanceKernel : public ICPPKernel
{
public:
+ const char *name() const override
+ {
+ return "CPPSortEuclideanDistanceKernel";
+ }
/** Default constructor */
CPPSortEuclideanDistanceKernel();
/** Prevent instances of this class from being copied (As this class contains pointers) */