aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/CL/GEMM.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-03 11:02:18 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:15:39 +0100
commit238cfc06ed377045df9b76c2047081d27ab9ff66 (patch)
treec0b0e3ab0537ca6d8eca8a677b4d2acf9454b4c6 /tests/validation/CL/GEMM.cpp
parent3a3066bf2b35deee0f29403d1a1b15590e4860c5 (diff)
downloadComputeLibrary-238cfc06ed377045df9b76c2047081d27ab9ff66.tar.gz
COMPMID-417: Fix broken build after rebase gone wrong
Change-Id: I3e7037f2f690130feb6acc6be3935ea93254a183 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79484 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/validation/CL/GEMM.cpp')
-rw-r--r--tests/validation/CL/GEMM.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/tests/validation/CL/GEMM.cpp b/tests/validation/CL/GEMM.cpp
index 84d65bd061..076364c5ab 100644
--- a/tests/validation/CL/GEMM.cpp
+++ b/tests/validation/CL/GEMM.cpp
@@ -22,12 +22,11 @@
* SOFTWARE.
*/
#include "CL/CLAccessor.h"
-#include "CL/Helper.h"
-#include "Globals.h"
#include "TensorLibrary.h"
#include "TypePrinter.h"
-#include "Utils.h"
#include "dataset/GEMMDataset.h"
+#include "tests/Globals.h"
+#include "tests/Utils.h"
#include "validation/Datasets.h"
#include "validation/Reference.h"
#include "validation/Validation.h"
@@ -57,10 +56,10 @@ CLTensor compute_gemm(const TensorShape &src_shape1, const TensorShape &src_shap
const TensorShape &out_shape, float alpha, float beta, DataType dt, int fixed_point_position = 0)
{
// Create tensors
- CLTensor src1 = create_tensor(src_shape1, dt, 1, fixed_point_position);
- CLTensor src2 = create_tensor(src_shape2, dt, 1, fixed_point_position);
- CLTensor src3 = create_tensor(src_shape3, dt, 1, fixed_point_position);
- CLTensor dst = create_tensor(out_shape, dt, 1, fixed_point_position);
+ CLTensor src1 = create_tensor<CLTensor>(src_shape1, dt, 1, fixed_point_position);
+ CLTensor src2 = create_tensor<CLTensor>(src_shape2, dt, 1, fixed_point_position);
+ CLTensor src3 = create_tensor<CLTensor>(src_shape3, dt, 1, fixed_point_position);
+ CLTensor dst = create_tensor<CLTensor>(out_shape, dt, 1, fixed_point_position);
// Create and configure function
CLGEMM gemm;
@@ -112,10 +111,10 @@ BOOST_DATA_TEST_CASE(Configuration,
int fixed_point_position = (dt == DataType::F32) ? 0 : 3;
// Create tensors
- CLTensor src1 = create_tensor(gemm_set.shape_a, dt, 1, fixed_point_position);
- CLTensor src2 = create_tensor(gemm_set.shape_b, dt, 1, fixed_point_position);
- CLTensor src3 = create_tensor(gemm_set.shape_c, dt, 1, fixed_point_position);
- CLTensor dst = create_tensor(gemm_set.shape_d, dt, 1, fixed_point_position);
+ CLTensor src1 = create_tensor<CLTensor>(gemm_set.shape_a, dt, 1, fixed_point_position);
+ CLTensor src2 = create_tensor<CLTensor>(gemm_set.shape_b, dt, 1, fixed_point_position);
+ CLTensor src3 = create_tensor<CLTensor>(gemm_set.shape_c, dt, 1, fixed_point_position);
+ CLTensor dst = create_tensor<CLTensor>(gemm_set.shape_d, dt, 1, fixed_point_position);
BOOST_TEST(src1.info()->is_resizable());
BOOST_TEST(src2.info()->is_resizable());