From 511771fbe0a74e6d9dfd37ba9b4926a8315ec7aa Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Thu, 19 Aug 2021 13:04:56 +0100 Subject: Remove padding from ClScaleKernel - Merge quantized kernels with fp for bilinear interpolation (both NCHW and NHWC) - Pass dimensions at compile time rather than at run time - Use tile-based approach to rework the NCHW kernels - Remove unused functions/files Resolve COMPMID-4723 Signed-off-by: Giorgio Arena Change-Id: Ifcdf02beb9daa9f318395751b3c85eb2fe874082 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6138 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio --- src/core/gpu/cl/ClKernelLibrary.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/core/gpu/cl/ClKernelLibrary.cpp') diff --git a/src/core/gpu/cl/ClKernelLibrary.cpp b/src/core/gpu/cl/ClKernelLibrary.cpp index 05beb5f63d..4a9ba874b1 100644 --- a/src/core/gpu/cl/ClKernelLibrary.cpp +++ b/src/core/gpu/cl/ClKernelLibrary.cpp @@ -394,7 +394,6 @@ const std::map ClKernelLibrary::_kernel_program_map = { "reorg_layer_nchw", "nchw/reorg_layer.cl" }, { "scale_nearest_neighbour_nchw", "nchw/scale.cl" }, { "scale_bilinear_nchw", "nchw/scale.cl" }, - { "scale_bilinear_quantized_nchw", "nchw/scale_quantized.cl" }, { "space_to_batch_nchw", "nchw/space_to_batch.cl" }, { "space_to_batch_static_nchw", "nchw/space_to_batch.cl" }, { "space_to_depth_nchw", "nchw/space_to_depth.cl" }, @@ -455,7 +454,6 @@ const std::map ClKernelLibrary::_kernel_program_map = { "reorg_layer_nhwc", "nhwc/reorg_layer.cl" }, { "scale_nearest_neighbour_nhwc", "nhwc/scale.cl" }, { "scale_bilinear_nhwc", "nhwc/scale.cl" }, - { "scale_bilinear_quantized_nhwc", "nhwc/scale_quantized.cl" }, { "space_to_batch_nhwc", "nhwc/space_to_batch.cl" }, { "space_to_batch_static_nhwc", "nhwc/space_to_batch.cl" }, { "space_to_depth_nhwc", "nhwc/space_to_depth.cl" }, @@ -825,10 +823,6 @@ const std::map ClKernelLibrary::_program_source_map = { "nchw/scale.cl", #include "./cl_kernels/nchw/scale.clembed" - }, - { - "nchw/scale_quantized.cl", -#include "./cl_kernels/nchw/scale_quantized.clembed" }, { "nchw/space_to_batch.cl", @@ -924,10 +918,6 @@ const std::map ClKernelLibrary::_program_source_map = { "nhwc/scale.cl", #include "./cl_kernels/nhwc/scale.clembed" - }, - { - "nhwc/scale_quantized.cl", -#include "./cl_kernels/nhwc/scale_quantized.clembed" }, { "nhwc/space_to_batch.cl", -- cgit v1.2.1