aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-01-30 09:27:05 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:45:00 +0000
commitfb8dda27ea5fe399f708bf3bc24cc4c3ef801b5e (patch)
treed85fd8dfac64c8f0069e12558cbb4d00ff56ae49 /src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
parentfc1ffe626278e75ba11c803280a6ef46a5bd1ad6 (diff)
downloadComputeLibrary-fb8dda27ea5fe399f708bf3bc24cc4c3ef801b5e.tar.gz
COMPMID-765 Fixed missing cast that was breaking the bare metal build
Change-Id: I80437f7ba6e4b8ec1fb145300a017b3688f3f2b6 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118086 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp')
-rw-r--r--src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
index 1af0b18933..1f3e5d1192 100644
--- a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
+++ b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp
@@ -158,8 +158,8 @@ void NEDepthwiseConvolutionLayer::configure(ITensor *input, const ITensor *weigh
}
// Fill borders on inputs
- PixelValue zero_in(0);
- PixelValue zero_w(0);
+ PixelValue zero_in(static_cast<int32_t>(0));
+ PixelValue zero_w(static_cast<int32_t>(0));
if(_is_quantized)
{
zero_in = PixelValue(static_cast<int32_t>(input->info()->quantization_info().offset));
@@ -189,4 +189,4 @@ void NEDepthwiseConvolutionLayer::run()
{
NEScheduler::get().schedule(&_output_stage_kernel, Window::DimX);
}
-} \ No newline at end of file
+}