diff options
author | Suhail Munshi <MohammedSuhail.Munshi@arm.com> | 2021-04-23 16:23:25 +0100 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2021-05-05 14:21:05 +0000 |
commit | 448cb45e2cb86f32a739c925a1ac8c688cf573bf (patch) | |
tree | 121c4d98be4eb27a8652eefe040f835d17d8955e /src/core/CL/cl_kernels/pixelwise_mul_int.cl | |
parent | 7e9f34d219ae5dd3ddd5d26475f42aa02bcf010f (diff) | |
download | ComputeLibrary-448cb45e2cb86f32a739c925a1ac8c688cf573bf.tar.gz |
Adding S32 support to CLPixelWiseMultiplication
Partially resolves : COMPMID-3793
Signed-off-by: Suhail Munshi <MohammedSuhail.Munshi@arm.com>
Change-Id: Id82e00c784f0a039017fd896f11671bdda2dd4ab
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5530
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/pixelwise_mul_int.cl')
-rw-r--r-- | src/core/CL/cl_kernels/pixelwise_mul_int.cl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/pixelwise_mul_int.cl b/src/core/CL/cl_kernels/pixelwise_mul_int.cl index 32c46def77..ac5cabcb8c 100644 --- a/src/core/CL/cl_kernels/pixelwise_mul_int.cl +++ b/src/core/CL/cl_kernels/pixelwise_mul_int.cl @@ -90,7 +90,6 @@ __kernel void pixelwise_mul_int( // Load data VEC_ACC_TYPE in1_data = CONVERT((VEC_DATA_TYPE(DATA_TYPE_IN1, VEC_SIZE_OUT))VLOAD(VEC_SIZE_IN1)(0, (__global DATA_TYPE_IN1 *)in1_addr), VEC_ACC_TYPE); VEC_ACC_TYPE in2_data = CONVERT((VEC_DATA_TYPE(DATA_TYPE_IN2, VEC_SIZE_OUT))VLOAD(VEC_SIZE_IN2)(0, (__global DATA_TYPE_IN2 *)in2_addr), VEC_ACC_TYPE); - // Perform multiplication and store result VEC_OUT_TYPE out_data0 = MUL_OP(in1_data, in2_data, scale, DATA_TYPE_OUT, VEC_SIZE_OUT); STORE_VECTOR_SELECT(out_data, DATA_TYPE_OUT, out_addr, VEC_SIZE_OUT, VEC_SIZE_LEFTOVER, VEC_SIZE_LEFTOVER != 0 && get_global_id(0) == 0); |