aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Types.hpp')
-rw-r--r--include/armnn/Types.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index 2fd40b84dd..bc41003c57 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -182,6 +182,15 @@ enum class ShapeInferenceMethod
InferAndValidate = 1
};
+/// Define the Memory Source to reduce copies
+enum class MemorySource : uint32_t
+{
+ Undefined = 0,
+ Malloc = 1,
+ DmaBuf = 2,
+ DmaBufProtected = 4
+};
+
/// Each backend should implement an IBackend.
class IBackend
{