aboutsummaryrefslogtreecommitdiff
path: root/test/Concurrent.cpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2018-09-07 09:25:10 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-09-18 12:40:42 +0100
commit8b287c23f5141102555ba869a34397ec720a3e4f (patch)
tree4a60d9c806669aad06816414601ac532946d6878 /test/Concurrent.cpp
parent77605826a353981d41f0ee346850d411770535f8 (diff)
downloadandroid-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.cpp4
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};