aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels
diff options
context:
space:
mode:
authorMichael Tyler <michael.tyler@arm.com>2023-07-05 14:32:00 +0100
committermichael.tyler <michael.tyler@arm.com>2023-07-05 15:34:16 +0000
commit4cf806704fe2044901e908697567a7a449f29525 (patch)
tree5299f3de0209faa24b9943c724edbd449a90e13e /src/core/NEON/kernels
parentbea57903514ef507aef7c5ead67576df4628d169 (diff)
downloadComputeLibrary-4cf806704fe2044901e908697567a7a449f29525.tar.gz
Fix unused function warning
Resolves: COMPMID-6337 Signed-off-by: Michael Tyler <michael.tyler@arm.com> Change-Id: Id8e9b39e55ab3e13beda720e24ba9ea7e6f97762 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9868 Reviewed-by: Jakub Sujak <jakub.sujak@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels')
-rw-r--r--src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
index 9954be1f82..b0f606332b 100644
--- a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
+++ b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
@@ -79,6 +79,7 @@ namespace depthwise {
namespace
{
+#if defined(__aarch64__)
bool prefer_premultiply(const DepthwiseArgs &args) {
if ((args.stride_rows != args.stride_cols) || (args.kernel_rows != args.kernel_cols))
{
@@ -151,7 +152,6 @@ namespace
) * 2 / 3;
}
-#if defined(__aarch64__)
unsigned int multiplier_cycle_estimate(const DepthwiseArgs &args, const Nothing &)
{
return prefer_premultiply(args)? UINT32_MAX : 0;