aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/CommonTestUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/backendsCommon/test/CommonTestUtils.hpp')
-rw-r--r--src/backends/backendsCommon/test/CommonTestUtils.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backends/backendsCommon/test/CommonTestUtils.hpp b/src/backends/backendsCommon/test/CommonTestUtils.hpp
index 8c4da621ed..99412b9694 100644
--- a/src/backends/backendsCommon/test/CommonTestUtils.hpp
+++ b/src/backends/backendsCommon/test/CommonTestUtils.hpp
@@ -13,7 +13,7 @@
#include <armnn/BackendRegistry.hpp>
#include <armnn/Types.hpp>
-#include <backendsCommon/CpuTensorHandle.hpp>
+#include <backendsCommon/TensorHandle.hpp>
#include <test/TestUtils.hpp>
@@ -72,8 +72,8 @@ bool Compare(T a, T b, float tolerance = 0.000001f)
template <typename ConvolutionLayer>
void SetWeightAndBias(ConvolutionLayer* layer, const armnn::TensorInfo& weightInfo, const armnn::TensorInfo& biasInfo)
{
- layer->m_Weight = std::make_unique<armnn::ScopedCpuTensorHandle>(weightInfo);
- layer->m_Bias = std::make_unique<armnn::ScopedCpuTensorHandle>(biasInfo);
+ layer->m_Weight = std::make_unique<armnn::ScopedTensorHandle>(weightInfo);
+ layer->m_Bias = std::make_unique<armnn::ScopedTensorHandle>(biasInfo);
layer->m_Weight->Allocate();
layer->m_Bias->Allocate();