24.02
|
#include <GpuFsaTensorHandleFactory.hpp>
Public Member Functions | |
GpuFsaTensorHandleFactory (std::shared_ptr< GpuFsaMemoryManager > mgr) | |
std::unique_ptr< ITensorHandle > | CreateSubTensorHandle (ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, const bool IsMemoryManaged) const override |
Utility Functions for backends which require TensorHandles to have unmanaged memory. More... | |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout, const bool IsMemoryManaged) const override |
const FactoryId & | GetId () const override |
bool | SupportsSubTensors () const override |
MemorySourceFlags | GetExportFlags () const override |
MemorySourceFlags | GetImportFlags () const override |
Public Member Functions inherited from ITensorHandleFactory | |
virtual | ~ITensorHandleFactory () |
Some TensorHandleFactory decisions are deferred to run-time. More... | |
virtual bool | SupportsInPlaceComputation () const |
virtual bool | SupportsMapUnmap () const |
virtual std::vector< Capability > | GetCapabilities (const IConnectableLayer *layer, const IConnectableLayer *connectedLayer, CapabilityClass capabilityClass) |
Static Public Member Functions | |
static const FactoryId & | GetIdStatic () |
Additional Inherited Members | |
Public Types inherited from ITensorHandleFactory | |
using | FactoryId = std::string |
Static Public Attributes inherited from ITensorHandleFactory | |
static const FactoryId | LegacyFactoryId = "armnn_legacy_factory" |
static const FactoryId | DeferredFactoryId = "armnn_deferred_factory" |
Use the workload factory to create the tensor handle. More... | |
Definition at line 16 of file GpuFsaTensorHandleFactory.hpp.
|
inline |
Definition at line 20 of file GpuFsaTensorHandleFactory.hpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 14 of file GpuFsaTensorHandleFactory.cpp.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 50 of file GpuFsaTensorHandleFactory.cpp.
Referenced by GpuFsaTensorHandleFactory::CreateTensorHandle().
|
overridevirtual |
Utility Functions for backends which require TensorHandles to have unmanaged memory.
These should be overloaded if required to facilitate direct import of input tensors and direct export of output tensors.
Reimplemented from ITensorHandleFactory.
Definition at line 61 of file GpuFsaTensorHandleFactory.cpp.
References ARMNN_LOG, and armnn::warning.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 55 of file GpuFsaTensorHandleFactory.cpp.
References GpuFsaTensorHandleFactory::CreateTensorHandle().
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 73 of file GpuFsaTensorHandleFactory.cpp.
References ARMNN_LOG, and armnn::warning.
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 102 of file GpuFsaTensorHandleFactory.cpp.
References armnn::Undefined.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 92 of file GpuFsaTensorHandleFactory.cpp.
References GpuFsaTensorHandleFactory::GetIdStatic().
|
static |
Definition at line 86 of file GpuFsaTensorHandleFactory.cpp.
References armnn::GpuFsaTensorHandleFactoryId().
Referenced by GpuFsaBackend::GetHandleFactoryPreferences(), and GpuFsaTensorHandleFactory::GetId().
|
overridevirtual |
Reimplemented from ITensorHandleFactory.
Definition at line 107 of file GpuFsaTensorHandleFactory.cpp.
References armnn::Undefined.
|
overridevirtual |
Implements ITensorHandleFactory.
Definition at line 97 of file GpuFsaTensorHandleFactory.cpp.