From 94abde4f4e98f6f1adb5c46b194527f34a8ea07d Mon Sep 17 00:00:00 2001 From: Mohammed Suhail Munshi Date: Thu, 25 May 2023 16:48:43 +0100 Subject: Add Fused Activation to OpenCL MatMul - Added fused activation to MatMul function interface - Added fused activation to CL backend - Includes tests for supported Activation Functions in MatMul Resolves: [COMPMID-6192] Signed-off-by: Mohammed Suhail Munshi Change-Id: Ie103212b600b60699eaf6a6394d609e6e1f5aba6 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/522465 Comments-Addressed: bsgcomp Reviewed-by: Viet-Hoa Do Tested-by: bsgcomp Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9714 Comments-Addressed: Arm Jenkins Reviewed-by: Jakub Sujak Tested-by: Arm Jenkins Benchmark: Arm Jenkins --- arm_compute/core/MatMulInfo.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'arm_compute/core') diff --git a/arm_compute/core/MatMulInfo.h b/arm_compute/core/MatMulInfo.h index 62d782215b..01b9b47761 100644 --- a/arm_compute/core/MatMulInfo.h +++ b/arm_compute/core/MatMulInfo.h @@ -58,11 +58,6 @@ public: { return _adj_rhs; } - /* Get Fused Activation Layer Info */ - ActivationLayerInfo fused_activation() const - { - return _fused_act; - } /* Set Adjoint LHS flag */ MatMulInfo &adj_lhs(bool adj_lhs) { @@ -75,17 +70,10 @@ public: _adj_rhs = adj_rhs; return *this; } - /* Set Fused Activation Layer Info */ - MatMulInfo &fused_activation(const ActivationLayerInfo &act_info) - { - _fused_act = act_info; - return *this; - } private: bool _adj_lhs{ false }; bool _adj_rhs{ false }; - ActivationLayerInfo _fused_act{}; // disabled by default }; } // namespace arm_compute #endif /* ARM_COMPUTE_MATMULINFO_H */ -- cgit v1.2.1