diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2021-05-07 09:21:47 +0100 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2021-05-07 11:11:54 +0100 |
commit | 466b40c807cedd6d614d43d986f1d7e493287867 (patch) | |
tree | 1617c101b9c7ea4c8c10886dbfe50ea136610d28 /src/core | |
parent | 8a124bc0cc083470180e81befde012955197aaa2 (diff) | |
download | ComputeLibrary-466b40c807cedd6d614d43d986f1d7e493287867.tar.gz |
Fix missing DATA_TYPE in DOT_PRODUCT4_INTEGER8 OpenCL macro
- DOT_PRODUCT8_INTEGER8 and DOT_PRODUCT16_INTEGER8 are calling
DOT_PRODUCT4_INTEGER8 without passing DST_DATA_TYPE
Resolves COMPMID-4491
Change-Id: I394bd2f9208489e820885e49ed40e607d6470620
Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5594
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/CL/cl_kernels/tile_helpers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/CL/cl_kernels/tile_helpers.h b/src/core/CL/cl_kernels/tile_helpers.h index 8b6d5309e3..3d37f0d31f 100644 --- a/src/core/CL/cl_kernels/tile_helpers.h +++ b/src/core/CL/cl_kernels/tile_helpers.h @@ -124,13 +124,13 @@ #endif // defined(ARM_COMPUTE_OPENCL_DOT8_ACC_ENABLED) && defined(cl_arm_integer_dot_product_accumulate_int8) #define DOT_PRODUCT8_INTEGER8(DST_DATA_TYPE, a, b, c) \ ({ \ - DOT_PRODUCT4_INTEGER8((a.lo), (b.lo), c); \ - DOT_PRODUCT4_INTEGER8((a.hi), (b.hi), c); \ + DOT_PRODUCT4_INTEGER8(DST_DATA_TYPE, (a.lo), (b.lo), c); \ + DOT_PRODUCT4_INTEGER8(DST_DATA_TYPE, (a.hi), (b.hi), c); \ }) #define DOT_PRODUCT16_INTEGER8(DST_DATA_TYPE, a, b, c) \ ({ \ - DOT_PRODUCT8_INTEGER8((a.lo), (b.lo), c); \ - DOT_PRODUCT8_INTEGER8((a.hi), (b.hi), c); \ + DOT_PRODUCT8_INTEGER8(DST_DATA_TYPE, (a.lo), (b.lo), c); \ + DOT_PRODUCT8_INTEGER8(DST_DATA_TYPE, (a.hi), (b.hi), c); \ }) /** Load a vector from global memory (tensor) |