From 4a95bba6ca61ce99995ece6fd237b5498c9f322c Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Mon, 28 Jun 2021 11:00:27 +0100 Subject: Set up the framework to choose the default LWS Resolve COMPMID-4486 Signed-off-by: Giorgio Arena Change-Id: Ib38b7943bd776a6d75d1da163908724c49eae73d Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5864 Comments-Addressed: Arm Jenkins Reviewed-by: Georgios Pinitas Reviewed-by: Gian Marco Iodice Tested-by: Arm Jenkins --- src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp b/src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp index 323579dc3c..74cbef151b 100644 --- a/src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp +++ b/src/core/CL/kernels/CLInstanceNormalizationLayerKernel.cpp @@ -72,6 +72,7 @@ Status validate_arguments_meanvar(const ITensorInfo *input, const ITensorInfo *o CLComputeMeanVariance::CLComputeMeanVariance() : _input(nullptr), _output(nullptr) { + _type = CLKernelType::ELEMENTWISE; } void CLComputeMeanVariance::configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, bool use_mixed_precision) @@ -152,6 +153,7 @@ void CLComputeMeanVariance::run(const Window &window, cl::CommandQueue &queue) CLInstanceNormalizationLayerKernel::CLInstanceNormalizationLayerKernel() : _input(nullptr), _output(nullptr), _mean(nullptr), _run_in_place(false) { + _type = CLKernelType::ELEMENTWISE; } void CLInstanceNormalizationLayerKernel::configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *mean_var, ICLTensor *output, const InstanceNormalizationLayerKernelInfo &info) -- cgit v1.2.1