diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2018-04-23 16:16:22 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:56 +0000 |
commit | cda0c38373b2f114509392ba16ef04e8c1e0f819 (patch) | |
tree | 0c4d7a66474aa7935697887b03f7fe3e53a25622 /src/runtime/CL | |
parent | e91abd712cded6f7185e2e8b8f4c3a841883e0a8 (diff) | |
download | ComputeLibrary-cda0c38373b2f114509392ba16ef04e8c1e0f819.tar.gz |
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>
Diffstat (limited to 'src/runtime/CL')
-rw-r--r-- | src/runtime/CL/functions/CLGEMM.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/CL/functions/CLGEMM.cpp b/src/runtime/CL/functions/CLGEMM.cpp index bff5781300..37fa0c5ba2 100644 --- a/src/runtime/CL/functions/CLGEMM.cpp +++ b/src/runtime/CL/functions/CLGEMM.cpp @@ -57,6 +57,11 @@ inline bool is_interleaved_transposed(int m, int n, int k, DataType data_type, b 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; } |