aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-08-01 15:03:00 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-08-01 18:15:42 +0000
commit1c29ffc7fe02de68cf2e82709a3bc3e210cb0ba4 (patch)
treeeeeb02221fe972141f54c01d33e6ed57eb0f59df /src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp
parent169cda3793ce4900b2bf103739f04bb83b1b6aae (diff)
downloadComputeLibrary-1c29ffc7fe02de68cf2e82709a3bc3e210cb0ba4.tar.gz
COMPMID-2336: Fix build issues.
Change-Id: I0932dc9ca4649f0825950ed9d6d249212bc6971e Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1671 Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp b/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp
index aafdb2e8a4..c9d4e9be50 100644
--- a/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp
+++ b/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp
@@ -28,6 +28,8 @@
#include "arm_compute/core/NEON/wrapper/wrapper.h"
#include "arm_compute/core/utils/misc/ShapeCalculator.h"
+#include "support/ToolchainSupport.h"
+
namespace arm_compute
{
namespace
@@ -160,7 +162,7 @@ void depthwise_loop_generic(const ITensor *input, const ITensor *weights, const
for(size_t m = 0; m < depth_multiplier; ++m)
{
const auto weights_val = *(reinterpret_cast<T *>(weights_ptr + m * sizeof(T) + w * weights_stride_y));
- acc.at(m) = std::fma(weights_val, input_val, acc.at(m));
+ acc.at(m) = support::cpp11::fma(weights_val, input_val, acc.at(m));
}
offs += dilation.x() * input_stride_y;