23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H
25 #define ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H
122 virtual void sync() = 0;
127 #endif //ARM_COMPUTE_GRAPH_IDEVICEBACKEND_H
virtual ~IDeviceBackend()=default
Virtual Destructor.
virtual bool is_backend_supported()=0
Checks if an instantiated backend is actually supported.
Device backend interface.
virtual void release_backend_context(GraphContext &ctx)=0
Release the backend specific resources associated to a given graph context.
MemoryManagerAffinity
Backend Memory Manager affinity.
virtual Status validate_node(INode &node)=0
Validate a node.
virtual std::unique_ptr< arm_compute::IFunction > configure_node(INode &node, GraphContext &ctx)=0
Configure a backend Node.
virtual IAllocator * backend_allocator()=0
Gets a backend memory allocator.
virtual std::unique_ptr< ITensorHandle > create_tensor(const Tensor &tensor)=0
Create a backend Tensor.
virtual void initialize_backend()=0
Initializes the backend.
CLTensor * tensor
Pointer to the auxiliary tensor.
virtual std::shared_ptr< arm_compute::IWeightsManager > create_weights_manager()=0
Create a backend weights manager.
virtual std::unique_ptr< ITensorHandle > create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent)=0
Create a backend Sub-Tensor.
virtual std::shared_ptr< arm_compute::IMemoryManager > create_memory_manager(MemoryManagerAffinity affinity)=0
Create a backend memory manager given its affinity.
Copyright (c) 2017-2023 Arm Limited.
virtual void setup_backend_context(GraphContext &ctx)=0
Setups the given graph context.
Tensor handle interface object.
virtual void sync()=0
Synchronize kernels execution on the backend.