24.02
|
#include <GpuFsaWorkloadFactory.hpp>
Public Member Functions | |
GpuFsaWorkloadFactory (const std::shared_ptr< GpuFsaMemoryManager > &memoryManager) | |
GpuFsaWorkloadFactory () | |
~GpuFsaWorkloadFactory () | |
const BackendId & | GetBackendId () const override |
bool | SupportsSubTensors () const override |
std::unique_ptr< ITensorHandle > | CreateSubTensorHandle (ITensorHandle &, TensorShape const &, unsigned int const *) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override |
std::unique_ptr< ITensorHandle > | CreateTensorHandle (const TensorInfo &tensorInfo, DataLayout dataLayout, const bool IsMemoryManaged=true) const override |
void | InitializeCLCompileContext () |
std::unique_ptr< IWorkload > | CreateWorkload (LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const override |
Backends should implement their own CreateWorkload function with a switch statement. More... | |
Public Member Functions inherited from IWorkloadFactory | |
virtual | ~IWorkloadFactory () |
virtual void | AfterWorkloadsCreated () |
Static Public Member Functions | |
static bool | IsLayerSupported (const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
Static Public Member Functions inherited from IWorkloadFactory | |
static bool | IsLayerSupported (const BackendId &backendId, const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
static bool | IsLayerSupported (const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported) |
static bool | IsLayerSupported (const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported, const ModelOptions &modelOptions) |
static bool | IsLayerSupported (const BackendId &backendId, const IConnectableLayer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported, const ModelOptions &modelOptions) |
Definition at line 17 of file GpuFsaWorkloadFactory.hpp.
|
explicit |
Definition at line 48 of file GpuFsaWorkloadFactory.cpp.
References GpuFsaWorkloadFactory::InitializeCLCompileContext().
Definition at line 54 of file GpuFsaWorkloadFactory.cpp.
References GpuFsaWorkloadFactory::InitializeCLCompileContext().
|
inline |
Definition at line 23 of file GpuFsaWorkloadFactory.hpp.
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 34 of file GpuFsaWorkloadFactory.hpp.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 72 of file GpuFsaWorkloadFactory.cpp.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 81 of file GpuFsaWorkloadFactory.cpp.
|
overridevirtual |
Backends should implement their own CreateWorkload function with a switch statement.
The case for the switch should be the LayerType and based on that they will call their specific workload creation functionality.
Implements IWorkloadFactory.
Definition at line 99 of file GpuFsaWorkloadFactory.cpp.
References armnn::Constant, armnn::info, armnn::Input, armnn::MemCopy, armnn::Output, and armnn::PreCompiled.
|
overridevirtual |
Implements IWorkloadFactory.
Definition at line 60 of file GpuFsaWorkloadFactory.cpp.
void InitializeCLCompileContext | ( | ) |
Definition at line 92 of file GpuFsaWorkloadFactory.cpp.
Referenced by GpuFsaWorkloadFactory::GpuFsaWorkloadFactory().
|
static |
Definition at line 65 of file GpuFsaWorkloadFactory.cpp.
References IWorkloadFactory::IsLayerSupported().
|
inlineoverridevirtual |
Implements IWorkloadFactory.
Definition at line 31 of file GpuFsaWorkloadFactory.hpp.