diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2020-09-15 14:17:41 +0100 |
---|---|---|
committer | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2020-09-18 09:53:42 +0000 |
commit | 6f9313477f6a158210479996523c210452d4f07a (patch) | |
tree | a64f8b97f3e95b6d084955cf675fa5e6d19205a7 /src/core/CL/CLUtils.h | |
parent | 82c1a1fc63d6a49c0b4be39529412c7f7bc8ea64 (diff) | |
download | ComputeLibrary-6f9313477f6a158210479996523c210452d4f07a.tar.gz |
COMPMID-3671: Extend cl image support to f16 in CLGEMMMatrixMultiplyReshapedKernel
Resolves: COMPMID-3671, COMPMID-3672
- Extend cl image support to f16 in CLGEMMMatrixMultiplyReshapedKernel
- Extend cl image support to f16 in CLGEMMMatrixMultiplyReshapedOnlyRHSKernel
- Change the interface of create_image2d_from_buffer
- Extend test
Change-Id: I27363be71fa515fbf71aa4be5ed0d6c730f38f34
Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3992
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/CLUtils.h')
-rw-r--r-- | src/core/CL/CLUtils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CL/CLUtils.h b/src/core/CL/CLUtils.h index 8f1c58bcba..b65d547756 100644 --- a/src/core/CL/CLUtils.h +++ b/src/core/CL/CLUtils.h @@ -44,12 +44,12 @@ class TensorShape; * @param[in] ctx cl::Context object * @param[in] buffer cl::Buffer object from which the OpenCL image2d object is created * @param[in] shape2d 2D tensor shape - * @param[in] data_type cl_channel_type to use. Only supported CL_FLOAT + * @param[in] data_type DataType to use. Only supported: F32,F16 * @param[in] image_row_pitch Image row pitch (a.k.a. stride Y) to be used in the image2d object * * @return cl::Image2D object */ -cl::Image2D create_image2d_from_buffer(const cl::Context &ctx, const cl::Buffer &buffer, const TensorShape &shape2d, cl_channel_type data_type, size_t image_row_pitch); +cl::Image2D create_image2d_from_buffer(const cl::Context &ctx, const cl::Buffer &buffer, const TensorShape &shape2d, DataType data_type, size_t image_row_pitch); } // arm_compute |