aboutsummaryrefslogtreecommitdiff
path: root/test/Concurrent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Concurrent.cpp')
-rw-r--r--test/Concurrent.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Concurrent.cpp b/test/Concurrent.cpp
index c2d58bde..e4940537 100644
--- a/test/Concurrent.cpp
+++ b/test/Concurrent.cpp
@@ -11,7 +11,9 @@ BOOST_AUTO_TEST_SUITE(ConcurrentDriverTests)
using ArmnnDriver = armnn_driver::ArmnnDriver;
using DriverOptions = armnn_driver::DriverOptions;
using namespace android::nn;
+using namespace android::hardware;
using namespace driverTestHelpers;
+using namespace armnn_driver;
// Add our own test for concurrent execution
// The main point of this test is to check that multiple requests can be
@@ -22,7 +24,7 @@ BOOST_AUTO_TEST_CASE(ConcurrentExecute)
ALOGI("ConcurrentExecute: entry");
auto driver = std::make_unique<ArmnnDriver>(DriverOptions(armnn::Compute::CpuRef));
- V1_0::Model model = {};
+ neuralnetworks::V1_0::Model model = {};
// add operands
int32_t actValue = 0;
@@ -37,7 +39,7 @@ BOOST_AUTO_TEST_CASE(ConcurrentExecute)
// make the fully connected operation
model.operations.resize(1);
- model.operations[0].type = V1_0::OperationType::FULLY_CONNECTED;
+ model.operations[0].type = neuralnetworks::V1_0::OperationType::FULLY_CONNECTED;
model.operations[0].inputs = hidl_vec<uint32_t>{0, 1, 2, 3};
model.operations[0].outputs = hidl_vec<uint32_t>{4};