diff options
author | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
---|---|---|
committer | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
commit | ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94 (patch) | |
tree | 77a769e27879fb712027c990071b061c5e0e3b60 /test/Concurrent.cpp | |
parent | deb3bdbe028a59da0759dd7a560387d03a11d322 (diff) | |
download | android-nn-driver-ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94.tar.gz |
Release 18.08
Diffstat (limited to 'test/Concurrent.cpp')
-rw-r--r-- | test/Concurrent.cpp | 6 |
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}; |