From 4cf806704fe2044901e908697567a7a449f29525 Mon Sep 17 00:00:00 2001 From: Michael Tyler Date: Wed, 5 Jul 2023 14:32:00 +0100 Subject: Fix unused function warning Resolves: COMPMID-6337 Signed-off-by: Michael Tyler Change-Id: Id8e9b39e55ab3e13beda720e24ba9ea7e6f97762 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9868 Reviewed-by: Jakub Sujak Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins Tested-by: Arm Jenkins --- src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/NEON/kernels') 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; -- cgit v1.2.1