aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Types.hpp3
-rw-r--r--include/armnn/backends/ICustomAllocator.hpp3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index f61a1fdca8..72c59d9daa 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -219,7 +219,8 @@ enum class MemorySource : uint32_t
Undefined = 0,
Malloc = 1,
DmaBuf = 2,
- DmaBufProtected = 4
+ DmaBufProtected = 4,
+ Gralloc = 5
};
enum class MemBlockStrategyType
diff --git a/include/armnn/backends/ICustomAllocator.hpp b/include/armnn/backends/ICustomAllocator.hpp
index eb8dfe1459..59ad27c6f4 100644
--- a/include/armnn/backends/ICustomAllocator.hpp
+++ b/include/armnn/backends/ICustomAllocator.hpp
@@ -36,8 +36,7 @@ public:
* Supported types are:
* MemorySource::Malloc
* MemorySource::DmaBuf
- * Unsupported types are:
- * MemorySource::DmaBufProtected
+ * MemorySource::DmaBufProtected
*/
virtual armnn::MemorySource GetMemorySourceType() = 0;