aboutsummaryrefslogtreecommitdiff
path: root/test/1.1
diff options
context:
space:
mode:
Diffstat (limited to 'test/1.1')
-rw-r--r--test/1.1/Mean.cpp7
-rw-r--r--test/1.1/Transpose.cpp6
2 files changed, 7 insertions, 6 deletions
diff --git a/test/1.1/Mean.cpp b/test/1.1/Mean.cpp
index b3074909..8c52d23d 100644
--- a/test/1.1/Mean.cpp
+++ b/test/1.1/Mean.cpp
@@ -8,9 +8,10 @@
#include "../1.1/HalPolicy.hpp"
-#include <boost/array.hpp>
#include <boost/test/data/test_case.hpp>
+#include <array>
+
BOOST_AUTO_TEST_SUITE(MeanTests)
using namespace android::hardware;
@@ -23,9 +24,9 @@ namespace
{
#ifndef ARMCOMPUTECL_ENABLED
- static const boost::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
+ static const std::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
#else
- static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
+ static const std::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
#endif
void MeanTestImpl(const TestTensor& input,
diff --git a/test/1.1/Transpose.cpp b/test/1.1/Transpose.cpp
index 7a36130a..9d240004 100644
--- a/test/1.1/Transpose.cpp
+++ b/test/1.1/Transpose.cpp
@@ -9,12 +9,12 @@
#include "../1.1/HalPolicy.hpp"
-#include <boost/array.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <log/log.h>
+#include <array>
#include <cmath>
BOOST_AUTO_TEST_SUITE(TransposeTests)
@@ -29,9 +29,9 @@ namespace
{
#ifndef ARMCOMPUTECL_ENABLED
- static const boost::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
+ static const std::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
#else
- static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
+ static const std::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
#endif
void TransposeTestImpl(const TestTensor & inputs, int32_t perm[],