commit | cda0c38373b2f114509392ba16ef04e8c1e0f819 | [log] [tgz] |
---|---|---|
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | Mon Apr 23 16:16:22 2018 +0100 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Nov 02 16:49:56 2018 +0000 |
tree | 0c4d7a66474aa7935697887b03f7fe3e53a25622 | |
parent | e91abd712cded6f7185e2e8b8f4c3a841883e0a8 [diff] [blame] |
COMPMID-1080 - Fix CLFullyConnectedLayer validate() tests failing is_interleaved_transposed was set to true on Midgard when m == 1 Change-Id: I991be804073c12f6be894abbfdd010744559772d Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/128678 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
diff --git a/src/runtime/CL/functions/CLGEMM.cpp b/src/runtime/CL/functions/CLGEMM.cpp index bff5781..37fa0c5 100644 --- a/src/runtime/CL/functions/CLGEMM.cpp +++ b/src/runtime/CL/functions/CLGEMM.cpp
@@ -57,6 +57,11 @@ flag = false; } } + else + { + // We reshape the matrices only if we do not have the vector-by-matrix case and we reshape the matrix B only once + flag = m != 1 && reshape_b_only_on_first_run; + } return flag; }