aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/MemorySources.hpp
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-04-29 14:23:04 +0100
committerFrancis Murtagh <francis.murtagh@arm.com>2021-04-29 14:55:27 +0000
commit73d3e2e1616ba5dcdb0a190afba2463742bd4fcc (patch)
tree5e03f174a763c275d5874c804996048fb0b505ab /include/armnn/MemorySources.hpp
parent4df97eb257d3fc29b7431d9cb8a054b21d5a7448 (diff)
downloadarmnn-73d3e2e1616ba5dcdb0a190afba2463742bd4fcc.tar.gz
IVGCVSW-5819 5820 5821 Add MemorySourceFlags to TensorHandleFactoryRegistry::GetFactory
* Modify Layer::CreateTensorHandles to include MemorySource * Modify INetworkProperties to add MemorySource * Disable Neon/Cl fallback tests until full import implementation complete Change-Id: Ia4fff6ea3d4bf6afca33aae358125ccaec7f9a38 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Diffstat (limited to 'include/armnn/MemorySources.hpp')
-rw-r--r--include/armnn/MemorySources.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/armnn/MemorySources.hpp b/include/armnn/MemorySources.hpp
index 53890982d4..53746a3bc3 100644
--- a/include/armnn/MemorySources.hpp
+++ b/include/armnn/MemorySources.hpp
@@ -5,19 +5,13 @@
#pragma once
+#include <armnn/Types.hpp>
+
#include <type_traits>
namespace armnn
{
-enum class MemorySource
-{
- Undefined = 0,
- Malloc = 1,
- DmaBuf = 2,
- DmaBufProtected = 4
-};
-
using MemorySourceFlags = unsigned int;
template<typename T>