aboutsummaryrefslogtreecommitdiff
path: root/ArmnnDriver.hpp
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 /ArmnnDriver.hpp
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 'ArmnnDriver.hpp')
-rw-r--r--ArmnnDriver.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmnnDriver.hpp b/ArmnnDriver.hpp
index fd5cfad0..7c6e5d0b 100644
--- a/ArmnnDriver.hpp
+++ b/ArmnnDriver.hpp
@@ -9,7 +9,7 @@
#include <log/log.h>
-#if defined(ARMNN_ANDROID_NN_V1_1)
+#ifdef ARMNN_ANDROID_NN_V1_1 // Using ::android::hardware::neuralnetworks::V1_1
#include "1.1/ArmnnDriver.hpp"
@@ -29,7 +29,7 @@ public:
} // namespace armnn_driver
-#else // Fallback to ::android::hardware::neuralnetworks::V1_0.
+#else // Fallback to ::android::hardware::neuralnetworks::V1_0
#include "1.0/ArmnnDriver.hpp"