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/CL/cl_kernels/warp_helpers.h | |
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/CL/cl_kernels/warp_helpers.h')
-rw-r--r-- | src/core/CL/cl_kernels/warp_helpers.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/CL/cl_kernels/warp_helpers.h b/src/core/CL/cl_kernels/warp_helpers.h index 005861ddfa..642483ab3c 100644 --- a/src/core/CL/cl_kernels/warp_helpers.h +++ b/src/core/CL/cl_kernels/warp_helpers.h @@ -63,12 +63,6 @@ inline const VEC_DATA_TYPE(DATA_TYPE, 4) read_texels4(const Image *in, const int *((__global DATA_TYPE *)offset(in, coords.s6, coords.s7))); } -/** Returns the current thread coordinates. */ -inline const float2 get_current_coords() -{ - return (float2)(get_global_id(0) * 4, get_global_id(1)); -} - /** Given a texel coordinates this function will return the following array of coordinates: * [ P, right neighbour, below neighbour, below right neighbour ] * |