aboutsummaryrefslogtreecommitdiff
path: root/Utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Utils.hpp')
-rw-r--r--Utils.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utils.hpp b/Utils.hpp
index c5a2e650..6256655f 100644
--- a/Utils.hpp
+++ b/Utils.hpp
@@ -27,6 +27,10 @@ namespace V1_2 = ::android::hardware::neuralnetworks::V1_2;
namespace armnn_driver
{
+#ifdef ARMNN_ANDROID_R
+using DataLocation = ::android::nn::hal::DataLocation;
+#endif
+
extern const armnn::PermutationVector g_DontPermute;
template <typename OperandType>