diff options
author | Sheri Zhang <sheri.zhang@arm.com> | 2021-06-29 17:34:06 +0100 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2021-07-13 15:36:03 +0000 |
commit | a387e271b1e02ffd5c2993702b9a21c1ed5c95fa (patch) | |
tree | f53416756c70c85d962218168ad3cd3359d9f5c8 /src/core/gpu/cl/kernels/ClMulKernel.h | |
parent | 6fc7d528382716de9e417c9dcf0fddf109446e9f (diff) | |
download | ComputeLibrary-a387e271b1e02ffd5c2993702b9a21c1ed5c95fa.tar.gz |
Add in-place calculation support for CL elementwise arithmetic kernels
- Add in-place calculation support in ClArithmeticKernel, ClSaturatedArithmeticKernel and ClMulKernel
- Add in-place test cases
Resolves: COMPMID-4431
Signed-off-by: Sheri Zhang <sheri.zhang@arm.com>
Change-Id: Id484bdb76b74478a33fedb471ae0c7f799c599f6
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5885
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/gpu/cl/kernels/ClMulKernel.h')
-rw-r--r-- | src/core/gpu/cl/kernels/ClMulKernel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/gpu/cl/kernels/ClMulKernel.h b/src/core/gpu/cl/kernels/ClMulKernel.h index dec8dba61c..2ee182b932 100644 --- a/src/core/gpu/cl/kernels/ClMulKernel.h +++ b/src/core/gpu/cl/kernels/ClMulKernel.h @@ -34,7 +34,11 @@ namespace opencl { namespace kernels { -/** Interface for the pixelwise multiplication kernel. */ +/** Interface for the pixelwise multiplication kernel. + * + * For binary elementwise ops in-place cannot be enabled by passing nullptr to dst, it can only be enabled by passing either src1 or src2 to dst instead. + * +*/ class ClMulKernel : public IClKernel { public: |