From 5ba5e0938e68d4f90f5545a81066d56f022b376a Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Thu, 6 Dec 2018 17:13:09 +0000 Subject: COMPMID-1774: Implement CLGEMMReshapeLHSMatrixKernel to reshape the LHS matrix of GEMM/GEMMLowp Change-Id: I8c5fd4c8bcdffda1522c83158981ed92baa045f4 Reviewed-on: https://review.mlplatform.org/364 Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- tests/validation/Helpers.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/validation/Helpers.cpp') diff --git a/tests/validation/Helpers.cpp b/tests/validation/Helpers.cpp index eab6d5629f..11c454ea67 100644 --- a/tests/validation/Helpers.cpp +++ b/tests/validation/Helpers.cpp @@ -207,7 +207,7 @@ void transpose_matrix(const SimpleTensor &in, SimpleTensor &out) { for(int x = 0; x < width; ++x) { - const float val = in[x + y * width]; + const T val = in[x + y * width]; out[x * height + y] = val; } @@ -313,10 +313,16 @@ std::pair get_quantized_bounds(const QuantizationInfo &quant_info, flo template void get_tile(const SimpleTensor &in, SimpleTensor &roi, const Coordinates &coord); template void get_tile(const SimpleTensor &in, SimpleTensor &roi, const Coordinates &coord); +template void get_tile(const SimpleTensor &in, SimpleTensor &roi, const Coordinates &coord); +template void get_tile(const SimpleTensor &in, SimpleTensor &roi, const Coordinates &coord); +template void get_tile(const SimpleTensor &in, SimpleTensor &roi, const Coordinates &coord); template void zeros(SimpleTensor &in, const Coordinates &anchor, const TensorShape &shape); template void zeros(SimpleTensor &in, const Coordinates &anchor, const TensorShape &shape); template void transpose_matrix(const SimpleTensor &in, SimpleTensor &out); template void transpose_matrix(const SimpleTensor &in, SimpleTensor &out); +template void transpose_matrix(const SimpleTensor &in, SimpleTensor &out); +template void transpose_matrix(const SimpleTensor &in, SimpleTensor &out); +template void transpose_matrix(const SimpleTensor &in, SimpleTensor &out); template void matrix_multiply(const SimpleTensor &a, const SimpleTensor &b, SimpleTensor &out); template void matrix_multiply(const SimpleTensor &a, const SimpleTensor &b, SimpleTensor &out); -- cgit v1.2.1