diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-09-07 09:25:10 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-09-18 12:40:42 +0100 |
commit | 8b287c23f5141102555ba869a34397ec720a3e4f (patch) | |
tree | 4a60d9c806669aad06816414601ac532946d6878 /test/Concurrent.cpp | |
parent | 77605826a353981d41f0ee346850d411770535f8 (diff) | |
download | android-nn-driver-8b287c23f5141102555ba869a34397ec720a3e4f.tar.gz |
IVGCVSW-1806 More Android NN Driver refactoring
* Changed #if defined to #ifdef
* Simplified the Android ML namespace resolution
* Fixed the relative path in some include directives
Change-Id: I46e46faff98559c8042c1a4b8b82007f462df57d
Diffstat (limited to 'test/Concurrent.cpp')
-rw-r--r-- | test/Concurrent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Concurrent.cpp b/test/Concurrent.cpp index 92f6f8fb..55a1a395 100644 --- a/test/Concurrent.cpp +++ b/test/Concurrent.cpp @@ -24,7 +24,7 @@ BOOST_AUTO_TEST_CASE(ConcurrentExecute) ALOGI("ConcurrentExecute: entry"); auto driver = std::make_unique<ArmnnDriver>(DriverOptions(armnn::Compute::CpuRef)); - neuralnetworks::V1_0::Model model = {}; + V1_0::Model model = {}; // add operands int32_t actValue = 0; @@ -39,7 +39,7 @@ BOOST_AUTO_TEST_CASE(ConcurrentExecute) // make the fully connected operation model.operations.resize(1); - model.operations[0].type = neuralnetworks::V1_0::OperationType::FULLY_CONNECTED; + model.operations[0].type = 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}; |