Home
last modified time | relevance | path

Searched refs:MemorySourceFlags (Results 1 – 25 of 39) sorted by relevance

12

/external/armnn/src/backends/cl/test/
DClImportTensorHandleFactoryTests.cpp19 ClImportTensorHandleFactory factory(static_cast<MemorySourceFlags>(MemorySource::Malloc),
20 static_cast<MemorySourceFlags>(MemorySource::Malloc));
31 ClImportTensorHandleFactory factory(static_cast<MemorySourceFlags>(MemorySource::Malloc),
32 static_cast<MemorySourceFlags>(MemorySource::Malloc));
39 …ARMNN_ASSERT(tensorHandle->GetImportFlags() == static_cast<MemorySourceFlags>(MemorySource::Malloc…
45 …ARMNN_ASSERT(tensorHandle->GetImportFlags() == static_cast<MemorySourceFlags>(MemorySource::Malloc…
51 …ARMNN_ASSERT(tensorHandle->GetImportFlags() == static_cast<MemorySourceFlags>(MemorySource::Malloc…
58 ClImportTensorHandleFactory factory(static_cast<MemorySourceFlags>(MemorySource::Malloc),
59 static_cast<MemorySourceFlags>(MemorySource::Malloc));
77 ClImportTensorHandleFactory factory(static_cast<MemorySourceFlags>(MemorySource::Malloc),
[all …]
DClBackendTests.cpp35 static_cast<MemorySourceFlags>(MemorySource::Malloc),
36 static_cast<MemorySourceFlags>(MemorySource::Malloc));
75 static_cast<MemorySourceFlags>(MemorySource::Malloc),
76 static_cast<MemorySourceFlags>(MemorySource::Malloc));
/external/armnn/include/armnn/
DMemorySources.hpp15 using MemorySourceFlags = unsigned int; typedef
30 MemorySourceFlags Combine(Arg sourceA, Arg sourceB) in Combine()
32 return static_cast<MemorySourceFlags>(sourceA) | static_cast<MemorySourceFlags>(sourceB); in Combine()
36 MemorySourceFlags Combine(Arg source, Args... rest) in Combine()
38 return static_cast<MemorySourceFlags>(source) | Combine(rest...); in Combine()
41 inline bool CheckFlag(MemorySourceFlags flags, MemorySource source) in CheckFlag()
43 return (static_cast<MemorySourceFlags>(source) & flags) != 0; in CheckFlag()
/external/armnn/src/backends/tosaReference/
DTosaRefTensorHandleFactory.hpp23 , m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in TosaRefTensorHandleFactory()
24 , m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in TosaRefTensorHandleFactory()
49 MemorySourceFlags GetExportFlags() const override;
51 MemorySourceFlags GetImportFlags() const override;
55 MemorySourceFlags m_ImportFlags;
56 MemorySourceFlags m_ExportFlags;
DTosaRefTensorHandle.cpp16 , m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Undefined)) in TosaRefTensorHandle()
22 MemorySourceFlags importFlags) in TosaRefTensorHandle()
117 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in Import()
160 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in CanBeImported()
DTosaRefTensorHandle.hpp20 TosaRefTensorHandle(const TensorInfo& tensorInfo, MemorySourceFlags importFlags);
54 virtual MemorySourceFlags GetImportFlags() const override in GetImportFlags()
77 MemorySourceFlags m_ImportFlags;
/external/armnn/src/backends/reference/
DRefTensorHandleFactory.hpp23 m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)), in RefTensorHandleFactory()
24 m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in RefTensorHandleFactory()
49 MemorySourceFlags GetExportFlags() const override;
51 MemorySourceFlags GetImportFlags() const override;
55 MemorySourceFlags m_ImportFlags;
56 MemorySourceFlags m_ExportFlags;
DRefTensorHandleFactory.cpp80 MemorySourceFlags RefTensorHandleFactory::GetExportFlags() const in GetExportFlags()
85 MemorySourceFlags RefTensorHandleFactory::GetImportFlags() const in GetImportFlags()
/external/armnn/src/armnnTestUtils/
DMockTensorHandleFactory.hpp25 , m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in MockTensorHandleFactory()
26 , m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in MockTensorHandleFactory()
51 MemorySourceFlags GetExportFlags() const override;
53 MemorySourceFlags GetImportFlags() const override;
57 MemorySourceFlags m_ImportFlags;
58 MemorySourceFlags m_ExportFlags;
DMockTensorHandle.cpp16 , m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Undefined)) in MockTensorHandle()
21 MockTensorHandle::MockTensorHandle(const TensorInfo& tensorInfo, MemorySourceFlags importFlags) in MockTensorHandle()
116 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in Import()
160 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in CanBeImported()
DMockTensorHandleFactory.cpp77 MemorySourceFlags MockTensorHandleFactory::GetExportFlags() const in GetExportFlags()
82 MemorySourceFlags MockTensorHandleFactory::GetImportFlags() const in GetImportFlags()
/external/armnn/src/backends/cl/
DClImportTensorHandleFactory.hpp34 ClImportTensorHandleFactory(MemorySourceFlags importFlags, MemorySourceFlags exportFlags) in ClImportTensorHandleFactory()
63 MemorySourceFlags GetExportFlags() const override;
65 MemorySourceFlags GetImportFlags() const override;
72 MemorySourceFlags m_ImportFlags;
73 MemorySourceFlags m_ExportFlags;
DClBackend.cpp89 …static_cast<MemorySourceFlags>(MemorySource::Malloc), static_cast<MemorySourceFlags>(MemorySource:… in CreateWorkloadFactory()
117 …static_cast<MemorySourceFlags>(MemorySource::Malloc), static_cast<MemorySourceFlags>(MemorySource:… in CreateWorkloadFactory()
133 MemorySourceFlags inputFlags, in CreateWorkloadFactory()
134 MemorySourceFlags outputFlags) const in CreateWorkloadFactory()
137 if (inputFlags == static_cast<MemorySourceFlags>(MemorySource::Undefined)) in CreateWorkloadFactory()
139 inputFlags = static_cast<MemorySourceFlags>(MemorySource::Malloc); in CreateWorkloadFactory()
141 if (outputFlags == static_cast<MemorySourceFlags>(MemorySource::Undefined)) in CreateWorkloadFactory()
143 outputFlags = static_cast<MemorySourceFlags>(MemorySource::Malloc); in CreateWorkloadFactory()
190 …static_cast<MemorySourceFlags>(MemorySource::Malloc), static_cast<MemorySourceFlags>(MemorySource:… in RegisterTensorHandleFactories()
202 MemorySourceFlags inputFlags, in RegisterTensorHandleFactories()
[all …]
DClTensorHandleFactory.cpp109 MemorySourceFlags ClTensorHandleFactory::GetExportFlags() const in GetExportFlags()
111 return MemorySourceFlags(MemorySource::Undefined); in GetExportFlags()
114 MemorySourceFlags ClTensorHandleFactory::GetImportFlags() const in GetImportFlags()
116 return MemorySourceFlags(MemorySource::Undefined); in GetImportFlags()
DClTensorHandle.hpp30 : m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Undefined)), in ClTensorHandle()
39MemorySourceFlags importFlags = static_cast<MemorySourceFlags>(MemorySource::Undefined)) in ClTensorHandle()
107 void SetImportFlags(MemorySourceFlags importFlags) in SetImportFlags()
112 MemorySourceFlags GetImportFlags() const override in GetImportFlags()
125 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in Import()
227 MemorySourceFlags m_ImportFlags;
DClImportTensorHandle.hpp33 ClImportTensorHandle(const TensorInfo& tensorInfo, MemorySourceFlags importFlags) in ClImportTensorHandle()
41 MemorySourceFlags importFlags) in ClImportTensorHandle()
82 void SetImportFlags(MemorySourceFlags importFlags) in SetImportFlags()
87 MemorySourceFlags GetImportFlags() const override in GetImportFlags()
94 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in Import()
189 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in CanBeImported()
334 MemorySourceFlags m_ImportFlags;
DClTensorHandleFactory.hpp51 MemorySourceFlags GetExportFlags() const override;
53 MemorySourceFlags GetImportFlags() const override;
/external/armnn/src/dynamic/sample/
DSampleDynamicTensorHandleFactory.hpp23 m_ImportFlags(static_cast<armnn::MemorySourceFlags>(armnn::MemorySource::Malloc)), in SampleDynamicTensorHandleFactory()
24 m_ExportFlags(static_cast<armnn::MemorySourceFlags>(armnn::MemorySource::Malloc)) in SampleDynamicTensorHandleFactory()
49 armnn::MemorySourceFlags GetExportFlags() const override;
51 armnn::MemorySourceFlags GetImportFlags() const override;
55 armnn::MemorySourceFlags m_ImportFlags;
56 armnn::MemorySourceFlags m_ExportFlags;
DSampleTensorHandle.hpp20 SampleTensorHandle(const armnn::TensorInfo& tensorInfo, armnn::MemorySourceFlags importFlags);
54 virtual armnn::MemorySourceFlags GetImportFlags() const override in GetImportFlags()
76 armnn::MemorySourceFlags m_ImportFlags;
DSampleTensorHandle.cpp17 m_ImportFlags(static_cast<armnn::MemorySourceFlags>(armnn::MemorySource::Undefined)), in SampleTensorHandle()
24 armnn::MemorySourceFlags importFlags) in SampleTensorHandle()
94 if (m_ImportFlags & static_cast<armnn::MemorySourceFlags>(source)) in Import()
/external/armnn/src/backends/neon/
DNeonTensorHandleFactory.hpp39 m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)), in NeonTensorHandleFactory()
40 m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)) in NeonTensorHandleFactory()
67 MemorySourceFlags GetExportFlags() const override;
69 MemorySourceFlags GetImportFlags() const override;
77 MemorySourceFlags m_ImportFlags;
78 MemorySourceFlags m_ExportFlags;
DNeonTensorHandle.hpp30 : m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)), in NeonTensorHandle()
40MemorySourceFlags importFlags = static_cast<MemorySourceFlags>(MemorySource::Malloc)) in NeonTensorHandle()
102 void SetImportFlags(MemorySourceFlags importFlags) in SetImportFlags()
107 MemorySourceFlags GetImportFlags() const override in GetImportFlags()
128 if (m_ImportFlags & static_cast<MemorySourceFlags>(source)) in Import()
274 MemorySourceFlags m_ImportFlags;
/external/armnn/src/backends/backendsCommon/
DIBackendInternal.cpp63 MemorySourceFlags inputFlags, in CreateWorkloadFactory()
64 MemorySourceFlags outputFlags) const in CreateWorkloadFactory()
126 MemorySourceFlags /*inputFlags*/, in RegisterTensorHandleFactories() argument
127 MemorySourceFlags /*outputFlags*/) in RegisterTensorHandleFactories()
/external/armnn/include/armnnTestUtils/
DMockTensorHandle.hpp25 MockTensorHandle(const TensorInfo& tensorInfo, MemorySourceFlags importFlags);
59 MemorySourceFlags GetImportFlags() const override in GetImportFlags()
82 MemorySourceFlags m_ImportFlags;
/external/armnn/include/armnn/backends/
DIBackendInternal.hpp120 MemorySourceFlags inputFlags,
121 MemorySourceFlags outputFlags) const;
163 MemorySourceFlags inputFlags,
164 MemorySourceFlags outputFlags);

12