diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2021-08-19 13:04:56 +0100 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2021-08-23 13:33:31 +0000 |
commit | 511771fbe0a74e6d9dfd37ba9b4926a8315ec7aa (patch) | |
tree | e2296560f37935232d482982d025e148f1c6c61e /src/core/gpu/cl/ClKernelLibrary.cpp | |
parent | 19884630c37ae9de2f65a88ea2cda5630a551bad (diff) | |
download | ComputeLibrary-511771fbe0a74e6d9dfd37ba9b4926a8315ec7aa.tar.gz |
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 <giorgio.arena@arm.com>
Change-Id: Ifcdf02beb9daa9f318395751b3c85eb2fe874082
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6138
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src/core/gpu/cl/ClKernelLibrary.cpp')
-rw-r--r-- | src/core/gpu/cl/ClKernelLibrary.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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<std::string, std::string> 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<std::string, std::string> 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" }, @@ -827,10 +825,6 @@ const std::map<std::string, std::string> ClKernelLibrary::_program_source_map = #include "./cl_kernels/nchw/scale.clembed" }, { - "nchw/scale_quantized.cl", -#include "./cl_kernels/nchw/scale_quantized.clembed" - }, - { "nchw/space_to_batch.cl", #include "./cl_kernels/nchw/space_to_batch.clembed" }, @@ -926,10 +920,6 @@ const std::map<std::string, std::string> ClKernelLibrary::_program_source_map = #include "./cl_kernels/nhwc/scale.clembed" }, { - "nhwc/scale_quantized.cl", -#include "./cl_kernels/nhwc/scale_quantized.clembed" - }, - { "nhwc/space_to_batch.cl", #include "./cl_kernels/nhwc/space_to_batch.clembed" }, |