From 72219330fd85b1271e714d4ba894d6d8e26340c9 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 5 Jun 2018 14:56:06 +0100 Subject: COMPMID-1145: (API) Introduce prepare() stage (NEON/CL/GLES) Change-Id: I5b46764f9c3154ec3e3b9c951cc9e6dfbcb81dfb Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/134255 Reviewed-by: Anthony Barbier Tested-by: Jenkins Reviewed-by: Pablo Tello Reviewed-by: Michele DiGiorgio --- .../NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp') diff --git a/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp b/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp index d70a6689ac..da2e49c730 100644 --- a/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp +++ b/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -45,6 +45,14 @@ void NEDepthwiseSeparableConvolutionLayer::configure(ITensor *input, const ITens void NEDepthwiseSeparableConvolutionLayer::run() { + prepare(); + _depthwise_conv.run(); _pointwise_conv.run(); +} + +void NEDepthwiseSeparableConvolutionLayer::prepare() +{ + _depthwise_conv.prepare(); + _pointwise_conv.prepare(); } \ No newline at end of file -- cgit v1.2.1