From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_cl_tensor_handle_factory_8hpp_source.xhtml | 138 ++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 21.02/_cl_tensor_handle_factory_8hpp_source.xhtml (limited to '21.02/_cl_tensor_handle_factory_8hpp_source.xhtml') diff --git a/21.02/_cl_tensor_handle_factory_8hpp_source.xhtml b/21.02/_cl_tensor_handle_factory_8hpp_source.xhtml new file mode 100644 index 0000000000..da92d2fd61 --- /dev/null +++ b/21.02/_cl_tensor_handle_factory_8hpp_source.xhtml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/ClTensorHandleFactory.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ClTensorHandleFactory.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
10 #include <armnn/MemorySources.hpp>
11 
12 namespace armnn
13 {
14 
15 constexpr const char* ClTensorHandleFactoryId() { return "Arm/Cl/TensorHandleFactory"; }
16 
18 public:
19  static const FactoryId m_Id;
20 
21  ClTensorHandleFactory(std::shared_ptr<ClMemoryManager> mgr)
22  : m_MemoryManager(mgr),
23  m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Undefined)),
24  m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Undefined))
25  {}
26 
27  std::unique_ptr<ITensorHandle> CreateSubTensorHandle(ITensorHandle& parent,
28  const TensorShape& subTensorShape,
29  const unsigned int* subTensorOrigin) const override;
30 
31  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const override;
32 
33  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
34  DataLayout dataLayout) const override;
35 
36  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
37  const bool IsMemoryManaged) const override;
38 
39  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
40  DataLayout dataLayout,
41  const bool IsMemoryManaged) const override;
42 
43  static const FactoryId& GetIdStatic();
44 
45  const FactoryId& GetId() const override;
46 
47  bool SupportsSubTensors() const override;
48 
49  MemorySourceFlags GetExportFlags() const override;
50 
51  MemorySourceFlags GetImportFlags() const override;
52 
53 private:
54  mutable std::shared_ptr<ClMemoryManager> m_MemoryManager;
55  MemorySourceFlags m_ImportFlags;
56  MemorySourceFlags m_ExportFlags;
57 };
58 
59 } // namespace armnn
static const FactoryId & GetIdStatic()
+
bool SupportsSubTensors() const override
+
DataLayout
Definition: Types.hpp:50
+ +
MemorySourceFlags GetImportFlags() const override
+
ClTensorHandleFactory(std::shared_ptr< ClMemoryManager > mgr)
+
unsigned int MemorySourceFlags
+ + +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, const TensorShape &subTensorShape, const unsigned int *subTensorOrigin) const override
+
MemorySourceFlags GetExportFlags() const override
+
constexpr const char * ClTensorHandleFactoryId()
+ +
ITensorHandleFactory::FactoryId FactoryId
+
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
+ + + + + +
const FactoryId & GetId() const override
+ + +
+
+ + + + -- cgit v1.2.1