aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/CL/PoolingLayer.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-06-30 12:48:43 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:15:39 +0100
commit94450f1fc91a89778354c2e1c07a328ba86d9cfc (patch)
tree9a84b1b86f5361027492b6698ea946d2e321baba /tests/validation/CL/PoolingLayer.cpp
parentd4f8c27f08c968f608a9e0e9b88df1871f62cdd3 (diff)
downloadComputeLibrary-94450f1fc91a89778354c2e1c07a328ba86d9cfc.tar.gz
COMPMID-417: Use a common create_tensor function
Change-Id: I6b0511484a5b433ebec3fd62d778e64dcb4f89b5 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79362 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation/CL/PoolingLayer.cpp')
-rw-r--r--tests/validation/CL/PoolingLayer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/validation/CL/PoolingLayer.cpp b/tests/validation/CL/PoolingLayer.cpp
index dabc21eaa8..5876e8bf23 100644
--- a/tests/validation/CL/PoolingLayer.cpp
+++ b/tests/validation/CL/PoolingLayer.cpp
@@ -22,9 +22,10 @@
* SOFTWARE.
*/
#include "CL/CLAccessor.h"
-#include "CL/Helper.h"
#include "TypePrinter.h"
#include "arm_compute/runtime/CL/functions/CLPoolingLayer.h"
+#include "tests/Globals.h"
+#include "tests/Utils.h"
#include "tests/dataset/PoolingLayerDataset.h"
#include "validation/Datasets.h"
#include "validation/Reference.h"
@@ -52,8 +53,8 @@ const float tolerance_f = 1e-05; /**< Tolerance value for comparing reference's
CLTensor compute_pooling_layer(const TensorShape &shape_in, const TensorShape &shape_out, DataType dt, PoolingLayerInfo pool_info)
{
// Create tensors
- CLTensor src = create_tensor(shape_in, dt);
- CLTensor dst = create_tensor(shape_out, dt);
+ CLTensor src = create_tensor<CLTensor>(shape_in, dt);
+ CLTensor dst = create_tensor<CLTensor>(shape_out, dt);
// Create and configure function
CLPoolingLayer pool;