From 6b4e604aa2f8598bce37abe76654b87a41ababb7 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 2 Aug 2018 12:02:48 +0100 Subject: COMPMID-1303: CLDepthConvert : Add support for FP32 -> FP16 and FP16 -> FP32 + validate() function Change-Id: I6808de0254a7c4bca440322cc14b795b3b32465b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/142427 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- src/runtime/CL/functions/CLDepthConvertLayer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/runtime/CL') diff --git a/src/runtime/CL/functions/CLDepthConvertLayer.cpp b/src/runtime/CL/functions/CLDepthConvertLayer.cpp index b448465909..2e52e8aadc 100644 --- a/src/runtime/CL/functions/CLDepthConvertLayer.cpp +++ b/src/runtime/CL/functions/CLDepthConvertLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -36,3 +36,8 @@ void CLDepthConvertLayer::configure(const ICLTensor *input, ICLTensor *output, C k->configure(input, output, policy, shift); _kernel = std::move(k); } + +Status CLDepthConvertLayer::validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy, uint32_t shift) +{ + return CLDepthConvertLayerKernel::validate(input, output, policy, shift); +} -- cgit v1.2.1